Skip to contentSkip to conversation

staging:iio/accel: Fixed checkpatch.pl warnings

PATCH In review Cristina Moraru 2 participants 2 messages Sep 27, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging:iio/accel: Fixed checkpatch.pl warnings

'Block comments use a trailing */ on a separate line' Warnings

---
 drivers/staging/iio/accel/lis3l02dq_ring.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/iio/accel/lis3l02dq_ring.c +4 -2
index b892f2c..1a0651c 100644
@@ -195,7 +195,8 @@ __lis3l02dq_write_data_ready_config(struct iio_dev *indio_dev, bool state)
 	/* Enable requested */
 	} else if (state && !currentlyset) {
 		/* If not set, enable requested
-		 * first disable all events */
+		 * first disable all events
+		 */
 		ret = lis3l02dq_disable_all_events(indio_dev);
 		if (ret < 0)
 			goto error_ret;
@@ -255,7 +256,8 @@ static int lis3l02dq_trig_try_reen(struct iio_trigger *trig)
 	int i;
 
 	/* If gpio still high (or high again)
-	 * In theory possible we will need to do this several times */
+	 * In theory possible we will need to do this several times
+	 */
 	for (i = 0; i < 5; i++)
 		if (gpio_get_value(st->gpio))
 			lis3l02dq_read_all(indio_dev, NULL);
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · Cristina Moraru

'Block comments use a trailing */ on a separate line' Warnings

Hi Cristina,

Please keep this until September, 29 when the official process starts.

thanks,
Daniel.