* [PATCH] w1: Use linux/gpio.h rather than asm/gpio.h
@ 2012-02-04 16:33 Mark Brown
2012-02-04 17:21 ` Evgeniy Polyakov
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2012-02-04 16:33 UTC (permalink / raw)
To: Evgeniy Polyakov; +Cc: linux-kernel, Mark Brown
Direct inclusion of the asm header has long been deprecated by the
introduction of gpiolib.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/w1/masters/w1-gpio.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c
index fcbe742..df600d1 100644
--- a/drivers/w1/masters/w1-gpio.c
+++ b/drivers/w1/masters/w1-gpio.c
@@ -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;
--
1.7.9.rc1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] w1: Use linux/gpio.h rather than asm/gpio.h
2012-02-04 16:33 [PATCH] w1: Use linux/gpio.h rather than asm/gpio.h Mark Brown
@ 2012-02-04 17:21 ` Evgeniy Polyakov
0 siblings, 0 replies; 2+ messages in thread
From: Evgeniy Polyakov @ 2012-02-04 17:21 UTC (permalink / raw)
To: Mark Brown; +Cc: linux-kernel, GregKH
On Sat, Feb 04, 2012 at 04:33:55PM +0000, Mark Brown (broonie@opensource.wolfsonmicro.com) wrote:
> Direct inclusion of the asm header has long been deprecated by the
> introduction of gpiolib.
Looks good, thank you
Greg, please apply it to your tree
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
--
Evgeniy Polyakov
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-04 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-04 16:33 [PATCH] w1: Use linux/gpio.h rather than asm/gpio.h Mark Brown
2012-02-04 17:21 ` Evgeniy Polyakov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox