From: Fabio Estevam <redacted>
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.
Signed-off-by: Fabio Estevam <redacted>
---
drivers/video/mxsfb.c | 8 --------
1 file changed, 8 deletions(-)
On Sun, May 26, 2013 at 10:48:14PM -0300, Fabio Estevam wrote:
From: Fabio Estevam <redacted>
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.
Signed-off-by: Fabio Estevam <redacted>
From: Fabio Estevam <redacted>
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.
Linus we should do a pass on the kernel to clean this
Best Regards,
J.
@@ -877,7 +876,6 @@ static int mxsfb_probe(struct platform_device *pdev)structmxsfb_info*host;structfb_info*fb_info;structfb_modelist*modelist;-structpinctrl*pinctrl;intret;if(of_id)
@@ -909,12 +907,6 @@ static int mxsfb_probe(struct platform_device *pdev)host->devdata=&mxsfb_devdata[pdev->id_entry->driver_data];-pinctrl=devm_pinctrl_get_select_default(&pdev->dev);-if(IS_ERR(pinctrl)){-ret=PTR_ERR(pinctrl);-gotofb_release;-}-host->clk=devm_clk_get(&host->pdev->dev,NULL);if(IS_ERR(host->clk)){ret=PTR_ERR(host->clk);
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Jean-Christophe,
On Mon, May 27, 2013 at 11:44 AM, Jean-Christophe PLAGNIOL-VILLARD
[off-list ref] wrote:
On 22:48 Sun 26 May , Fabio Estevam wrote:
quoted
From: Fabio Estevam <redacted>
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.
Linus we should do a pass on the kernel to clean this
Not sure which 'Linus' the comment was meant to be directed to, but I
have already sent several patches removing
devm_pinctrl_get_select_default() and many of them were already
applied by the maintainers.
Regards,
Fabio Estevam
Hi Jean-Christophe,
On Mon, May 27, 2013 at 11:44 AM, Jean-Christophe PLAGNIOL-VILLARD
[off-list ref] wrote:
quoted
On 22:48 Sun 26 May , Fabio Estevam wrote:
quoted
From: Fabio Estevam <redacted>
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.
Linus we should do a pass on the kernel to clean this
Not sure which 'Linus' the comment was meant to be directed to, but I
have already sent several patches removing
devm_pinctrl_get_select_default() and many of them were already
applied by the maintainers.