Skip to content
Commit 7e8b817e authored by Shobhit Kukreti's avatar Shobhit Kukreti Committed by Jonathan Cameron
Browse files

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: default avatarShobhit Kukreti <shobhitkukreti@gmail.com>
Acked-by: default avatarHarald Geyer <harald@ccbib.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 517b2d04
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