From 6a9a3d05d8168bc561c7351b6f1117267783be2b Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 28 Nov 2020 09:58:06 +0900 Subject: [PATCH] drivers/sensors/max31855.c: Appease nxstyle --- drivers/sensors/max31855.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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");