All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: iio: cdc: add comment to mutex
@ 2016-09-27 10:45 Anchal Jain
  2016-09-27 11:16 ` Greg KH
  2016-09-27 17:07 ` [Outreachy kernel] " Alison Schofield
  0 siblings, 2 replies; 8+ messages in thread
From: Anchal Jain @ 2016-09-27 10:45 UTC (permalink / raw)
  To: gregkh; +Cc: Michael.Hennerich, outreachy-kernel

Fix the checkpatch.pl issues:
CHECK: struct mutes definition without comment

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
---
 drivers/staging/iio/cdc/ad7150.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c
index f6b9a10..88c6ebe 100644
--- a/drivers/staging/iio/cdc/ad7150.c
+++ b/drivers/staging/iio/cdc/ad7150.c
@@ -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; /*generic mutex for cdc and drivers*/
 };
 
 /*
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-28 17:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27 10:45 [PATCH] staging: iio: cdc: add comment to mutex Anchal Jain
2016-09-27 11:16 ` Greg KH
2016-09-27 12:16   ` Anchal Jain
2016-09-27 12:53     ` [Outreachy kernel] " Julia Lawall
2016-09-27 17:07 ` [Outreachy kernel] " Alison Schofield
2016-09-27 19:46   ` Alison Schofield
2016-09-28 17:00     ` Anchal Jain
2016-09-28 17:34       ` Alison Schofield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.