iio: dht11: add comment to make checkpatch.pl --strict happy

Explain why the driver needs a mutex.

Signed-off-by: Harald Geyer <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
Harald Geyer 2015-07-07 13:39:29 +00:00 • committed by Jonathan Cameron
commit a7126003b6

View file

@ -63,6 +63,7 @@ struct dht11 {
int irq;
struct completion completion;
/* The iio sysfs interface doesn't prevent concurrent reads: */
struct mutex lock;
s64 timestamp;