mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 22:28:00 +00:00
iio: dht11: add comment to make checkpatch.pl --strict happy
Explain why the driver needs a mutex. Signed-off-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
889c5e9b66
commit
a7126003b6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue