staging: iio: cdc: ad7150: add comment to mutex
Subsystems (4)
PATCH v3 1/1 staging: iio: cdc: ad7150: add comment to mutex
Fix the checkpatch.pl issues:
CHECK: struct mutex definition without comment
Signed-off-by Anchal Jain <[email protected]>
--- drivers/staging/iio/cdc/ad7150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/cdc/ad7150.c +1 -1
@@ -78,7 +78,7 @@ struct ad7150_chip_info {u8 mag_timeout[2 ][2 ];int old_state;char *conversion_mode; -struct mutex state_lock; +struct mutex state_lock;/* protect hardware state */ };/*
Signature · 1 line
1.9.1
Greg KH
maintainerQuoted 13 lines · Anchal Jain
Fix the checkpatch.pl issues:
CHECK: struct mutex definition without commentSigned-off-by Anchal Jain <[email protected]>--- drivers/staging/iio/cdc/ad7150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/iio/cdc/ad7150.c +0
-0
drivers/staging/iio/cdc/ad7150.c struct ad7150_chip_info { · line 84
Quoted 8 lines
drivers/staging/iio/cdc/ad7150.c +1
-1@@ -78,7 +78,7 @@ struct ad7150_chip_info {u8 mag_timeout[2 ][2 ];int old_state;char *conversion_mode; -struct mutex state_lock; +struct mutex state_lock;/* protect hardware state */ };/*
Same review comment here.