提交 a7126003 编写于 作者: H Harald Geyer 提交者: Jonathan Cameron

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

Explain why the driver needs a mutex.
Signed-off-by: NHarald Geyer <harald@ccbib.org>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册