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: Mark Brown <[email protected]>
Acked-by: Evgeniy Polyakov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Mark Brown 2012-02-04 16:33:55 +00:00 • committed by Greg Kroah-Hartman
commit e250b34e57

View file

@ -13,12 +13,11 @@
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/w1-gpio.h>
#include <linux/gpio.h>
#include "../w1.h"
#include "../w1_int.h"
#include <asm/gpio.h>
static void w1_gpio_write_bit_dir(void *data, u8 bit)
{
struct w1_gpio_platform_data *pdata = data;