From: Harald Geyer Date: Tue, 7 Jul 2015 13:39:29 +0000 (+0000) Subject: iio: dht11: add comment to make checkpatch.pl --strict happy X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a7126003b6dd47c0088d952734379ef471156c5f;p=deliverable%2Flinux.git iio: dht11: add comment to make checkpatch.pl --strict happy Explain why the driver needs a mutex. Signed-off-by: Harald Geyer Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/humidity/dht11.c b/drivers/iio/humidity/dht11.c index 343d26af1dd8..bb5ad57ed2a2 100644 --- a/drivers/iio/humidity/dht11.c +++ b/drivers/iio/humidity/dht11.c @@ -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;