Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c54c3557 authored by Mark Brown's avatar Mark Brown Committed by Jean Delvare
Browse files

i2c-gpio: Use linux/gpio.h rather than asm/gpio.h



Direct inclusion of asm/gpio.h has been deprecated for a while now due
to the cross platform gpiolib.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent e22057c8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -14,8 +14,7 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>

#include <asm/gpio.h>
#include <linux/gpio.h>

/* Toggle SDA by changing the direction of the pin */
static void i2c_gpio_setsda_dir(void *data, int state)