summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorKent Gustavsson <kent@minoris.se>2020-01-04 21:19:29 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-01-12 14:34:15 +0300
commitf335fa7034d5444de53f22824afce52924d95253 (patch)
treedb62334fa558b7510fb8cff8a21c0f1658c17a7a /drivers/iio
parent77038bd01ce66ae65bcb66266c9747b670b5facd (diff)
downloadlinux-f335fa7034d5444de53f22824afce52924d95253.tar.xz
iio: humidity: dht11 remove TODO since it doesn't make sense
DHT11 isn't addressable and will trigger temperature measurement on any data sent on the bus. Signed-off-by: Kent Gustavsson <kent@minoris.se> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/humidity/dht11.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/humidity/dht11.c b/drivers/iio/humidity/dht11.c
index b459600e1a33..d05c6fdb758b 100644
--- a/drivers/iio/humidity/dht11.c
+++ b/drivers/iio/humidity/dht11.c
@@ -174,7 +174,6 @@ static irqreturn_t dht11_handle_irq(int irq, void *data)
struct iio_dev *iio = data;
struct dht11 *dht11 = iio_priv(iio);
- /* TODO: Consider making the handler safe for IRQ sharing */
if (dht11->num_edges < DHT11_EDGES_PER_READ && dht11->num_edges >= 0) {
dht11->edges[dht11->num_edges].ts = ktime_get_boottime_ns();
dht11->edges[dht11->num_edges++].value =