aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-gpio-mm.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2018-04-13 13:40:45 +0000
committerLinus Walleij <[email protected]>2018-05-16 12:35:24 +0000
commitba78d83be7d04f03a7fe6133efb5b6f83b9b0e7c (patch)
treed55f33b9948b7ac3c24d95b6b1e041ce7e08447b /drivers/gpio/gpio-gpio-mm.c
parentgpio: msic: Include the right header (diff)
downloadkernel-ba78d83be7d04f03a7fe6133efb5b6f83b9b0e7c.tar.gz
kernel-ba78d83be7d04f03a7fe6133efb5b6f83b9b0e7c.zip
gpio: mvebu: Use the proper APIs
The MVEBU driver is requesting GPIO descriptors from itself, which is fine, but we have proper APIs to do this in a controlled way, so stop calling into the private functions of the GPIO library and use the gpiochip_* functions instead. Only include <linux/gpio/driver.h> and <linux/gpio/consumer.h> since we are both producers and consumers in this case. Cc: Gregory CLEMENT <[email protected]> Cc: Thomas Petazzoni <[email protected]> Cc: Jason Cooper <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-gpio-mm.c')
0 files changed, 0 insertions, 0 deletions