iio: humidity: Replace older GPIO APIs with GPIO Consumer APIs for the dht11 sensor
authorShobhit Kukreti <shobhitkukreti@gmail.com>
Tue, 11 Jun 2019 03:55:57 +0000 (20:55 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Jun 2019 20:06:49 +0000 (21:06 +0100)
commit7e8b817e5978fdaabba37ab1d2ddb062a4c9abbb
treee5dc2fbf9cfb6ad60115f867400340e90bdb7ad8
parent517b2d045aebf3d662c642723897cf9f66044271
iio: humidity: Replace older GPIO APIs with GPIO Consumer APIs for the dht11 sensor

The dht11 driver uses a single gpio to make measurements. It was
using the older global gpio numberspace. The patch replaces the
old gpio api with the new gpio descriptor based api.

Removed header files "linux/gpio.h" and "linux/of_gpio.h"

Signed-off-by: Shobhit Kukreti <shobhitkukreti@gmail.com>
Acked-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/humidity/dht11.c