Commit a7126003 authored by Harald Geyer's avatar Harald Geyer Committed by Jonathan Cameron

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

Explain why the driver needs a mutex.
Signed-off-by: default avatarHarald Geyer <harald@ccbib.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 889c5e9b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment