Re: [PATCH] w1-gpio: Pinctrl-fy
* Evgeniy Polyakov [121105 07:47]: > Hi > > On Tue, Oct 30, 2012 at 11:26:25AM -0700, Tony Lindgren (t...@atomide.com) > wrote: > > * Pantelis Antoniou [121030 11:17]: > > > Enable pinctrl for w1-gpio. > > > > > > Signed-off-by: Pantelis Antoniou > > > > Acked-by: Tony Lindgren > > Acked-by: Evgeniy Polyakov > > Please submit patches through the appropriate tree, or you want me to > push them upstream? I prefer you queue it. Thanks, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] w1-gpio: Pinctrl-fy
Hi On Tue, Oct 30, 2012 at 11:26:25AM -0700, Tony Lindgren (t...@atomide.com) wrote: > * Pantelis Antoniou [121030 11:17]: > > Enable pinctrl for w1-gpio. > > > > Signed-off-by: Pantelis Antoniou > > Acked-by: Tony Lindgren Acked-by: Evgeniy Polyakov Please submit patches through the appropriate tree, or you want me to push them upstream? -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] w1-gpio: Pinctrl-fy
* Pantelis Antoniou [121030 11:17]: > Enable pinctrl for w1-gpio. > > Signed-off-by: Pantelis Antoniou Acked-by: Tony Lindgren > --- > drivers/w1/masters/w1-gpio.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c > index 6012c4e..aec35bd 100644 > --- a/drivers/w1/masters/w1-gpio.c > +++ b/drivers/w1/masters/w1-gpio.c > @@ -16,6 +16,8 @@ > #include > #include > #include > +#include > +#include > > #include "../w1.h" > #include "../w1_int.h" > @@ -85,8 +87,13 @@ static int __init w1_gpio_probe(struct platform_device > *pdev) > { > struct w1_bus_master *master; > struct w1_gpio_platform_data *pdata; > + struct pinctrl *pinctrl; > int err; > > + pinctrl = devm_pinctrl_get_select_default(&pdev->dev); > + if (IS_ERR(pinctrl)) > + dev_warn(&pdev->dev, "unable to select pin group\n"); > + > err = w1_gpio_probe_dt(pdev); > if (err < 0) > return err; > -- > 1.7.12 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] w1-gpio: Pinctrl-fy
Enable pinctrl for w1-gpio. Signed-off-by: Pantelis Antoniou --- drivers/w1/masters/w1-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c index 6012c4e..aec35bd 100644 --- a/drivers/w1/masters/w1-gpio.c +++ b/drivers/w1/masters/w1-gpio.c @@ -16,6 +16,8 @@ #include #include #include +#include +#include #include "../w1.h" #include "../w1_int.h" @@ -85,8 +87,13 @@ static int __init w1_gpio_probe(struct platform_device *pdev) { struct w1_bus_master *master; struct w1_gpio_platform_data *pdata; + struct pinctrl *pinctrl; int err; + pinctrl = devm_pinctrl_get_select_default(&pdev->dev); + if (IS_ERR(pinctrl)) + dev_warn(&pdev->dev, "unable to select pin group\n"); + err = w1_gpio_probe_dt(pdev); if (err < 0) return err; -- 1.7.12 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html