diff --git a/drivers/sensors/max31855.c b/drivers/sensors/max31855.c index 3762a18910..a5da9930f1 100644 --- a/drivers/sensors/max31855.c +++ b/drivers/sensors/max31855.c @@ -195,7 +195,8 @@ static ssize_t max31855_read(FAR struct file *filep, FAR char *buffer, if (buflen != 2) { - snerr("ERROR: You can't read something other than 16 bits (2 bytes)\n"); + snerr("ERROR: You can't read something other than 16 bits " + "(2 bytes)\n"); return -EINVAL; } @@ -320,7 +321,8 @@ int max31855_register(FAR const char *devpath, FAR struct spi_dev_s *spi, /* Initialize the MAX31855 device structure */ - priv = (FAR struct max31855_dev_s *)kmm_malloc(sizeof(struct max31855_dev_s)); + priv = (FAR struct max31855_dev_s *) + kmm_malloc(sizeof(struct max31855_dev_s)); if (priv == NULL) { snerr("ERROR: Failed to allocate instance\n");