Commit e250b34e authored by Mark Brown's avatar Mark Brown Committed by Greg Kroah-Hartman

w1: Use linux/gpio.h rather than asm/gpio.h

Direct inclusion of the asm header has long been deprecated by the
introduction of gpiolib.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 14c1bf8a
...@@ -13,12 +13,11 @@ ...@@ -13,12 +13,11 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/w1-gpio.h> #include <linux/w1-gpio.h>
#include <linux/gpio.h>
#include "../w1.h" #include "../w1.h"
#include "../w1_int.h" #include "../w1_int.h"
#include <asm/gpio.h>
static void w1_gpio_write_bit_dir(void *data, u8 bit) static void w1_gpio_write_bit_dir(void *data, u8 bit)
{ {
struct w1_gpio_platform_data *pdata = data; struct w1_gpio_platform_data *pdata = data;
......
Markdown is supported
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