* [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com> @ 2013-05-06 18:05 ` Fabio Estevam 2013-05-08 11:51 ` Alexander Shishkin 2013-05-26 21:02 ` Fabio Estevam 0 siblings, 2 replies; 7+ messages in thread From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw) To: shawn.guo; +Cc: kernel, festevam, Fabio Estevam, Thierry Reding, linux-kernel Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for handling pinctrl. So remove devm_pinctrl_get_select_default() from the driver. Cc: Thierry Reding <thierry.reding@avionic-design.de> Cc: <linux-kernel@vger.kernel.org> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- drivers/pwm/pwm-mxs.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c index a53d309..7dd6544 100644 --- a/drivers/pwm/pwm-mxs.c +++ b/drivers/pwm/pwm-mxs.c @@ -16,7 +16,6 @@ #include <linux/module.h> #include <linux/of.h> #include <linux/of_address.h> -#include <linux/pinctrl/consumer.h> #include <linux/platform_device.h> #include <linux/pwm.h> #include <linux/slab.h> @@ -131,7 +130,6 @@ static int mxs_pwm_probe(struct platform_device *pdev) struct device_node *np = pdev->dev.of_node; struct mxs_pwm_chip *mxs; struct resource *res; - struct pinctrl *pinctrl; int ret; mxs = devm_kzalloc(&pdev->dev, sizeof(*mxs), GFP_KERNEL); @@ -143,10 +141,6 @@ static int mxs_pwm_probe(struct platform_device *pdev) if (IS_ERR(mxs->base)) return PTR_ERR(mxs->base); - pinctrl = devm_pinctrl_get_select_default(&pdev->dev); - if (IS_ERR(pinctrl)) - return PTR_ERR(pinctrl); - mxs->clk = devm_clk_get(&pdev->dev, NULL); if (IS_ERR(mxs->clk)) return PTR_ERR(mxs->clk); -- 1.7.9.5 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl 2013-05-06 18:05 ` [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl Fabio Estevam @ 2013-05-08 11:51 ` Alexander Shishkin 2013-05-08 13:53 ` Shawn Guo 2013-05-26 21:02 ` Fabio Estevam 1 sibling, 1 reply; 7+ messages in thread From: Alexander Shishkin @ 2013-05-08 11:51 UTC (permalink / raw) To: Fabio Estevam, shawn.guo Cc: kernel, festevam, Fabio Estevam, Thierry Reding, linux-kernel Fabio Estevam <fabio.estevam@freescale.com> writes: > Since commit ab78029 (drivers/pinctrl: grab default handles from device core), > we can rely on device core for handling pinctrl. > > So remove devm_pinctrl_get_select_default() from the driver. > > Cc: Thierry Reding <thierry.reding@avionic-design.de> > Cc: <linux-kernel@vger.kernel.org> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > drivers/pwm/pwm-mxs.c | 6 ------ > 1 file changed, 6 deletions(-) Looks good, can we have some tested-by from imx guys? Regards, -- Alex ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl 2013-05-08 11:51 ` Alexander Shishkin @ 2013-05-08 13:53 ` Shawn Guo 2013-05-14 12:33 ` Alexander Shishkin 0 siblings, 1 reply; 7+ messages in thread From: Shawn Guo @ 2013-05-08 13:53 UTC (permalink / raw) To: Alexander Shishkin Cc: Fabio Estevam, kernel, festevam, Thierry Reding, linux-kernel On Wed, May 08, 2013 at 02:51:33PM +0300, Alexander Shishkin wrote: > Fabio Estevam <fabio.estevam@freescale.com> writes: > > > Since commit ab78029 (drivers/pinctrl: grab default handles from device core), > > we can rely on device core for handling pinctrl. > > > > So remove devm_pinctrl_get_select_default() from the driver. > > > > Cc: Thierry Reding <thierry.reding@avionic-design.de> > > Cc: <linux-kernel@vger.kernel.org> > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > > --- > > drivers/pwm/pwm-mxs.c | 6 ------ > > 1 file changed, 6 deletions(-) > > Looks good, can we have some tested-by from imx guys? I'm not sure why you're interested in this patch instead of "[PATCH 01/13] usb: chipidea: ci13xxx_imx: Let device core handle pinctrl". I tested both patches, so Tested-by: Shawn Guo <shawn.guo@linaro.org> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl 2013-05-08 13:53 ` Shawn Guo @ 2013-05-14 12:33 ` Alexander Shishkin 2013-05-14 12:38 ` Alexander Shishkin 0 siblings, 1 reply; 7+ messages in thread From: Alexander Shishkin @ 2013-05-14 12:33 UTC (permalink / raw) To: Shawn Guo; +Cc: Fabio Estevam, kernel, festevam, Thierry Reding, linux-kernel Shawn Guo <shawn.guo@linaro.org> writes: > On Wed, May 08, 2013 at 02:51:33PM +0300, Alexander Shishkin wrote: >> Fabio Estevam <fabio.estevam@freescale.com> writes: >> >> > Since commit ab78029 (drivers/pinctrl: grab default handles from device core), >> > we can rely on device core for handling pinctrl. >> > >> > So remove devm_pinctrl_get_select_default() from the driver. >> > >> > Cc: Thierry Reding <thierry.reding@avionic-design.de> >> > Cc: <linux-kernel@vger.kernel.org> >> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> >> > --- >> > drivers/pwm/pwm-mxs.c | 6 ------ >> > 1 file changed, 6 deletions(-) >> >> Looks good, can we have some tested-by from imx guys? > > I'm not sure why you're interested in this patch instead of > "[PATCH 01/13] usb: chipidea: ci13xxx_imx: Let device core handle > pinctrl". I tested both patches, so I don't seem to have this one in either of my mailboxes. > Tested-by: Shawn Guo <shawn.guo@linaro.org> Thank you. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl 2013-05-14 12:33 ` Alexander Shishkin @ 2013-05-14 12:38 ` Alexander Shishkin 0 siblings, 0 replies; 7+ messages in thread From: Alexander Shishkin @ 2013-05-14 12:38 UTC (permalink / raw) To: Shawn Guo; +Cc: Fabio Estevam, kernel, festevam, Thierry Reding, linux-kernel Alexander Shishkin <alexander.shishkin@linux.intel.com> writes: > Shawn Guo <shawn.guo@linaro.org> writes: > >> On Wed, May 08, 2013 at 02:51:33PM +0300, Alexander Shishkin wrote: >>> Fabio Estevam <fabio.estevam@freescale.com> writes: >>> >>> > Since commit ab78029 (drivers/pinctrl: grab default handles from device core), >>> > we can rely on device core for handling pinctrl. >>> > >>> > So remove devm_pinctrl_get_select_default() from the driver. >>> > >>> > Cc: Thierry Reding <thierry.reding@avionic-design.de> >>> > Cc: <linux-kernel@vger.kernel.org> >>> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> >>> > --- >>> > drivers/pwm/pwm-mxs.c | 6 ------ >>> > 1 file changed, 6 deletions(-) >>> >>> Looks good, can we have some tested-by from imx guys? >> >> I'm not sure why you're interested in this patch instead of >> "[PATCH 01/13] usb: chipidea: ci13xxx_imx: Let device core handle >> pinctrl". I tested both patches, so > > I don't seem to have this one in either of my mailboxes. Please disregard this. :) Thanks, -- Alex ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl 2013-05-06 18:05 ` [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl Fabio Estevam 2013-05-08 11:51 ` Alexander Shishkin @ 2013-05-26 21:02 ` Fabio Estevam 2013-05-26 21:23 ` Thierry Reding 1 sibling, 1 reply; 7+ messages in thread From: Fabio Estevam @ 2013-05-26 21:02 UTC (permalink / raw) To: Thierry Reding, Fabio Estevam; +Cc: shawn.guo, kernel, linux-kernel Hi Thierry, On Mon, May 6, 2013 at 3:05 PM, Fabio Estevam <fabio.estevam@freescale.com> wrote: > Since commit ab78029 (drivers/pinctrl: grab default handles from device core), > we can rely on device core for handling pinctrl. > > So remove devm_pinctrl_get_select_default() from the driver. > > Cc: Thierry Reding <thierry.reding@avionic-design.de> > Cc: <linux-kernel@vger.kernel.org> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Any comments on this one? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl 2013-05-26 21:02 ` Fabio Estevam @ 2013-05-26 21:23 ` Thierry Reding 0 siblings, 0 replies; 7+ messages in thread From: Thierry Reding @ 2013-05-26 21:23 UTC (permalink / raw) To: Fabio Estevam; +Cc: Fabio Estevam, shawn.guo, kernel, linux-kernel [-- Attachment #1: Type: text/plain, Size: 671 bytes --] On Sun, May 26, 2013 at 06:02:16PM -0300, Fabio Estevam wrote: > Hi Thierry, > > On Mon, May 6, 2013 at 3:05 PM, Fabio Estevam > <fabio.estevam@freescale.com> wrote: > > Since commit ab78029 (drivers/pinctrl: grab default handles from device core), > > we can rely on device core for handling pinctrl. > > > > So remove devm_pinctrl_get_select_default() from the driver. > > > > Cc: Thierry Reding <thierry.reding@avionic-design.de> > > Cc: <linux-kernel@vger.kernel.org> > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > > Any comments on this one? Looks good. I've applied it to my for-next branch. Thanks for pinging me. Thierry [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-05-26 21:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
2013-05-06 18:05 ` [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl Fabio Estevam
2013-05-08 11:51 ` Alexander Shishkin
2013-05-08 13:53 ` Shawn Guo
2013-05-14 12:33 ` Alexander Shishkin
2013-05-14 12:38 ` Alexander Shishkin
2013-05-26 21:02 ` Fabio Estevam
2013-05-26 21:23 ` Thierry Reding
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
Powered by JetHome