All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 02/13] i2c: i2c-imx: Let device core handle pinctrl
       [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
@ 2013-05-06 18:05   ` Fabio Estevam
  2013-05-06 18:05   ` [PATCH 03/13] i2c: i2c-mxs: " Fabio Estevam
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
  To: shawn.guo-QSEj5FYQhm4dnm+yROfE0A
  Cc: kernel-bIcnvbaLZ9MEGnE8C9+IrQ, festevam-Re5JQEeQqe8AvxtiuMwx3w,
	Fabio Estevam, Wolfram Sang, linux-i2c-u79uwXL29TY76Z2rM5mHXA

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: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
Cc: <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
 drivers/i2c/busses/i2c-imx.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index 82f20c6..8c7526c 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -51,7 +51,6 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_i2c.h>
-#include <linux/pinctrl/consumer.h>
 #include <linux/platform_data/i2c-imx.h>
 
 /** Defines ********************************************************************
@@ -493,7 +492,6 @@ static int __init i2c_imx_probe(struct platform_device *pdev)
 	struct imx_i2c_struct *i2c_imx;
 	struct resource *res;
 	struct imxi2c_platform_data *pdata = pdev->dev.platform_data;
-	struct pinctrl *pinctrl;
 	void __iomem *base;
 	int irq, ret;
 	u32 bitrate;
@@ -535,12 +533,6 @@ static int __init i2c_imx_probe(struct platform_device *pdev)
 	i2c_imx->adapter.dev.of_node	= pdev->dev.of_node;
 	i2c_imx->base			= base;
 
-	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
-	if (IS_ERR(pinctrl)) {
-		dev_err(&pdev->dev, "can't get/select pinctrl\n");
-		return PTR_ERR(pinctrl);
-	}
-
 	/* Get I2C clock */
 	i2c_imx->clk = devm_clk_get(&pdev->dev, NULL);
 	if (IS_ERR(i2c_imx->clk)) {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [PATCH 03/13] i2c: i2c-mxs: Let device core handle pinctrl
       [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  2013-05-06 18:05   ` [PATCH 02/13] i2c: i2c-imx: " Fabio Estevam
@ 2013-05-06 18:05   ` Fabio Estevam
       [not found]     ` <1367863561-11534-3-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  2013-05-06 18:05   ` [PATCH 07/13] spi: spi-imx: " Fabio Estevam
  2013-05-06 18:05   ` [PATCH 08/13] spi: spi-mxs: " Fabio Estevam
  3 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
  To: shawn.guo-QSEj5FYQhm4dnm+yROfE0A
  Cc: kernel-bIcnvbaLZ9MEGnE8C9+IrQ, festevam-Re5JQEeQqe8AvxtiuMwx3w,
	Fabio Estevam, Wolfram Sang, linux-i2c-u79uwXL29TY76Z2rM5mHXA

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: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
Cc: <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
 drivers/i2c/busses/i2c-mxs.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c
index 120f246..7f3dced 100644
--- a/drivers/i2c/busses/i2c-mxs.c
+++ b/drivers/i2c/busses/i2c-mxs.c
@@ -24,7 +24,6 @@
 #include <linux/platform_device.h>
 #include <linux/jiffies.h>
 #include <linux/io.h>
-#include <linux/pinctrl/consumer.h>
 #include <linux/stmp_device.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
@@ -604,16 +603,11 @@ static int mxs_i2c_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	struct mxs_i2c_dev *i2c;
 	struct i2c_adapter *adap;
-	struct pinctrl *pinctrl;
 	struct resource *res;
 	resource_size_t res_size;
 	int err, irq, dmairq;
 	dma_cap_mask_t mask;
 
-	pinctrl = devm_pinctrl_get_select_default(dev);
-	if (IS_ERR(pinctrl))
-		return PTR_ERR(pinctrl);
-
 	i2c = devm_kzalloc(dev, sizeof(struct mxs_i2c_dev), GFP_KERNEL);
 	if (!i2c)
 		return -ENOMEM;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [PATCH 04/13] mmc: mxs-mmc: 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-26 21:01   ` Fabio Estevam
  2013-05-06 18:05 ` [PATCH 05/13] mtd: gpmi-nand : " Fabio Estevam
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
  To: shawn.guo; +Cc: kernel, festevam, Fabio Estevam, Chris Ball, linux-mmc

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: Chris Ball <cjb@laptop.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/mmc/host/mxs-mmc.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
index 4efe302..2f64e5a 100644
--- a/drivers/mmc/host/mxs-mmc.c
+++ b/drivers/mmc/host/mxs-mmc.c
@@ -41,7 +41,6 @@
 #include <linux/gpio.h>
 #include <linux/regulator/consumer.h>
 #include <linux/module.h>
-#include <linux/pinctrl/consumer.h>
 #include <linux/stmp_device.h>
 #include <linux/spi/mxs-spi.h>
 
@@ -592,7 +591,6 @@ static int mxs_mmc_probe(struct platform_device *pdev)
 	struct mxs_mmc_host *host;
 	struct mmc_host *mmc;
 	struct resource *iores, *dmares;
-	struct pinctrl *pinctrl;
 	int ret = 0, irq_err, irq_dma;
 	dma_cap_mask_t mask;
 	struct regulator *reg_vmmc;
@@ -651,12 +649,6 @@ static int mxs_mmc_probe(struct platform_device *pdev)
 		}
 	}
 
-	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
-	if (IS_ERR(pinctrl)) {
-		ret = PTR_ERR(pinctrl);
-		goto out_mmc_free;
-	}
-
 	ssp->clk = clk_get(&pdev->dev, NULL);
 	if (IS_ERR(ssp->clk)) {
 		ret = PTR_ERR(ssp->clk);
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [PATCH 05/13] mtd: gpmi-nand : Let device core handle pinctrl
       [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
  2013-05-06 18:05 ` [PATCH 04/13] mmc: mxs-mmc: Let device core handle pinctrl Fabio Estevam
@ 2013-05-06 18:05 ` Fabio Estevam
  2013-05-26 21:00   ` Fabio Estevam
                     ` (2 more replies)
  2013-05-06 18:05 ` [PATCH 06/13] pwm: pwm-mxs: " Fabio Estevam
                   ` (5 subsequent siblings)
  7 siblings, 3 replies; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
  To: shawn.guo; +Cc: Fabio Estevam, Artem Bityutskiy, linux-mtd, festevam, 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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: <linux-mtd@lists.infradead.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/mtd/nand/gpmi-nand/gpmi-nand.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index 717881a..e8adefa 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@ -26,7 +26,6 @@
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/mtd/partitions.h>
-#include <linux/pinctrl/consumer.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_mtd.h>
@@ -565,7 +564,6 @@ err_clock:
 
 static int acquire_resources(struct gpmi_nand_data *this)
 {
-	struct pinctrl *pinctrl;
 	int ret;
 
 	ret = acquire_register_block(this, GPMI_NAND_GPMI_REGS_ADDR_RES_NAME);
@@ -584,19 +582,12 @@ static int acquire_resources(struct gpmi_nand_data *this)
 	if (ret)
 		goto exit_dma_channels;
 
-	pinctrl = devm_pinctrl_get_select_default(&this->pdev->dev);
-	if (IS_ERR(pinctrl)) {
-		ret = PTR_ERR(pinctrl);
-		goto exit_pin;
-	}
-
 	ret = gpmi_get_clks(this);
 	if (ret)
 		goto exit_clock;
 	return 0;
 
 exit_clock:
-exit_pin:
 	release_dma_channels(this);
 exit_dma_channels:
 	release_bch_irq(this);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [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 ` [PATCH 04/13] mmc: mxs-mmc: Let device core handle pinctrl Fabio Estevam
  2013-05-06 18:05 ` [PATCH 05/13] mtd: gpmi-nand : " Fabio Estevam
@ 2013-05-06 18:05 ` Fabio Estevam
  2013-05-08 11:51   ` Alexander Shishkin
  2013-05-26 21:02   ` Fabio Estevam
       [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
                   ` (4 subsequent siblings)
  7 siblings, 2 replies; 33+ 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 related	[flat|nested] 33+ messages in thread

* [PATCH 07/13] spi: spi-imx: Let device core handle pinctrl
       [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  2013-05-06 18:05   ` [PATCH 02/13] i2c: i2c-imx: " Fabio Estevam
  2013-05-06 18:05   ` [PATCH 03/13] i2c: i2c-mxs: " Fabio Estevam
@ 2013-05-06 18:05   ` Fabio Estevam
  2013-05-06 18:05   ` [PATCH 08/13] spi: spi-mxs: " Fabio Estevam
  3 siblings, 0 replies; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
  To: shawn.guo-QSEj5FYQhm4dnm+yROfE0A
  Cc: Fabio Estevam, Mark Brown, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	festevam-Re5JQEeQqe8AvxtiuMwx3w

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: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: <spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
 drivers/spi/spi-imx.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index 0befeeb..9821ef1 100644
--- a/drivers/spi/spi-imx.c
+++ b/drivers/spi/spi-imx.c
@@ -37,7 +37,6 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_gpio.h>
-#include <linux/pinctrl/consumer.h>
 
 #include <linux/platform_data/spi-imx.h>
 
@@ -760,7 +759,6 @@ static int spi_imx_probe(struct platform_device *pdev)
 	struct spi_master *master;
 	struct spi_imx_data *spi_imx;
 	struct resource *res;
-	struct pinctrl *pinctrl;
 	int i, ret, num_cs;
 
 	if (!np && !mxc_platform_info) {
@@ -848,12 +846,6 @@ static int spi_imx_probe(struct platform_device *pdev)
 		goto out_iounmap;
 	}
 
-	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
-	if (IS_ERR(pinctrl)) {
-		ret = PTR_ERR(pinctrl);
-		goto out_free_irq;
-	}
-
 	spi_imx->clk_ipg = devm_clk_get(&pdev->dev, "ipg");
 	if (IS_ERR(spi_imx->clk_ipg)) {
 		ret = PTR_ERR(spi_imx->clk_ipg);
-- 
1.7.9.5



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [PATCH 08/13] spi: spi-mxs: Let device core handle pinctrl
       [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
                     ` (2 preceding siblings ...)
  2013-05-06 18:05   ` [PATCH 07/13] spi: spi-imx: " Fabio Estevam
@ 2013-05-06 18:05   ` Fabio Estevam
  3 siblings, 0 replies; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
  To: shawn.guo-QSEj5FYQhm4dnm+yROfE0A
  Cc: Fabio Estevam, Mark Brown, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	festevam-Re5JQEeQqe8AvxtiuMwx3w

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: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: <spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
 drivers/spi/spi-mxs.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c
index 22a0af0..333a9d5 100644
--- a/drivers/spi/spi-mxs.c
+++ b/drivers/spi/spi-mxs.c
@@ -46,7 +46,6 @@
 #include <linux/gpio.h>
 #include <linux/regulator/consumer.h>
 #include <linux/module.h>
-#include <linux/pinctrl/consumer.h>
 #include <linux/stmp_device.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/mxs-spi.h>
@@ -521,7 +520,6 @@ static int mxs_spi_probe(struct platform_device *pdev)
 	struct mxs_spi *spi;
 	struct mxs_ssp *ssp;
 	struct resource *iores, *dmares;
-	struct pinctrl *pinctrl;
 	struct clk *clk;
 	void __iomem *base;
 	int devid, dma_channel, clk_freq;
@@ -545,10 +543,6 @@ static int mxs_spi_probe(struct platform_device *pdev)
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
-	if (IS_ERR(pinctrl))
-		return PTR_ERR(pinctrl);
-
 	clk = devm_clk_get(&pdev->dev, NULL);
 	if (IS_ERR(clk))
 		return PTR_ERR(clk);
-- 
1.7.9.5



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [PATCH 09/13] serial: imx: Let device core handle pinctrl
       [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
                   ` (3 preceding siblings ...)
       [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
@ 2013-05-06 18:05 ` Fabio Estevam
  2013-05-20 18:50   ` Greg Kroah-Hartman
  2013-05-06 18:05 ` [PATCH 10/13] serial: mxs-auart: " Fabio Estevam
                   ` (2 subsequent siblings)
  7 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
  To: shawn.guo
  Cc: kernel, festevam, Fabio Estevam, Greg Kroah-Hartman, linux-serial

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: <linux-serial@vger.kernel.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/tty/serial/imx.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 147c9e1..8552700 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -47,7 +47,6 @@
 #include <linux/slab.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
-#include <linux/pinctrl/consumer.h>
 #include <linux/io.h>
 
 #include <asm/irq.h>
@@ -1466,7 +1465,6 @@ static int serial_imx_probe(struct platform_device *pdev)
 	void __iomem *base;
 	int ret = 0;
 	struct resource *res;
-	struct pinctrl *pinctrl;
 
 	sport = devm_kzalloc(&pdev->dev, sizeof(*sport), GFP_KERNEL);
 	if (!sport)
@@ -1502,13 +1500,6 @@ static int serial_imx_probe(struct platform_device *pdev)
 	sport->timer.function = imx_timeout;
 	sport->timer.data     = (unsigned long)sport;
 
-	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
-	if (IS_ERR(pinctrl)) {
-		ret = PTR_ERR(pinctrl);
-		dev_err(&pdev->dev, "failed to get default pinctrl: %d\n", ret);
-		return ret;
-	}
-
 	sport->clk_ipg = devm_clk_get(&pdev->dev, "ipg");
 	if (IS_ERR(sport->clk_ipg)) {
 		ret = PTR_ERR(sport->clk_ipg);
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [PATCH 10/13] serial: mxs-auart: Let device core handle pinctrl
       [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
                   ` (4 preceding siblings ...)
  2013-05-06 18:05 ` [PATCH 09/13] serial: imx: " Fabio Estevam
@ 2013-05-06 18:05 ` Fabio Estevam
  2013-05-20 18:49   ` Greg Kroah-Hartman
  2013-05-06 18:06 ` [PATCH 12/13] ASoC: fsl: imx-audmux: " Fabio Estevam
  2013-05-06 18:06 ` [PATCH 13/13] ASoC: mxs: mxs-saif: " Fabio Estevam
  7 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
  To: shawn.guo
  Cc: kernel, festevam, Fabio Estevam, Greg Kroah-Hartman, linux-serial

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: <linux-serial@vger.kernel.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/tty/serial/mxs-auart.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c
index d549fe1..573d656 100644
--- a/drivers/tty/serial/mxs-auart.c
+++ b/drivers/tty/serial/mxs-auart.c
@@ -32,7 +32,6 @@
 #include <linux/clk.h>
 #include <linux/delay.h>
 #include <linux/io.h>
-#include <linux/pinctrl/consumer.h>
 #include <linux/of_device.h>
 #include <linux/dma-mapping.h>
 #include <linux/fsl/mxs-dma.h>
@@ -1059,7 +1058,6 @@ static int mxs_auart_probe(struct platform_device *pdev)
 	u32 version;
 	int ret = 0;
 	struct resource *r;
-	struct pinctrl *pinctrl;
 
 	s = kzalloc(sizeof(struct mxs_auart_port), GFP_KERNEL);
 	if (!s) {
@@ -1073,12 +1071,6 @@ static int mxs_auart_probe(struct platform_device *pdev)
 	else if (ret < 0)
 		goto out_free;
 
-	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
-	if (IS_ERR(pinctrl)) {
-		ret = PTR_ERR(pinctrl);
-		goto out_free;
-	}
-
 	if (of_id) {
 		pdev->id_entry = of_id->data;
 		s->devtype = pdev->id_entry->driver_data;
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [PATCH 12/13] ASoC: fsl: imx-audmux: Let device core handle pinctrl
       [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
                   ` (5 preceding siblings ...)
  2013-05-06 18:05 ` [PATCH 10/13] serial: mxs-auart: " Fabio Estevam
@ 2013-05-06 18:06 ` Fabio Estevam
  2013-05-06 19:21   ` Mark Brown
  2013-05-06 18:06 ` [PATCH 13/13] ASoC: mxs: mxs-saif: " Fabio Estevam
  7 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:06 UTC (permalink / raw)
  To: shawn.guo; +Cc: Fabio Estevam, alsa-devel, Mark Brown, festevam, 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: Mark Brown <broonie@kernel.org>
Cc: <alsa-devel@alsa-project.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 sound/soc/fsl/imx-audmux.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c
index 3f333e5..22967c6 100644
--- a/sound/soc/fsl/imx-audmux.c
+++ b/sound/soc/fsl/imx-audmux.c
@@ -26,7 +26,6 @@
 #include <linux/of_device.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
-#include <linux/pinctrl/consumer.h>
 
 #include "imx-audmux.h"
 
@@ -247,7 +246,6 @@ EXPORT_SYMBOL_GPL(imx_audmux_v2_configure_port);
 static int imx_audmux_probe(struct platform_device *pdev)
 {
 	struct resource *res;
-	struct pinctrl *pinctrl;
 	const struct of_device_id *of_id =
 			of_match_device(imx_audmux_dt_ids, &pdev->dev);
 
@@ -256,12 +254,6 @@ static int imx_audmux_probe(struct platform_device *pdev)
 	if (IS_ERR(audmux_base))
 		return PTR_ERR(audmux_base);
 
-	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
-	if (IS_ERR(pinctrl)) {
-		dev_err(&pdev->dev, "setup pinctrl failed!");
-		return PTR_ERR(pinctrl);
-	}
-
 	audmux_clk = clk_get(&pdev->dev, "audmux");
 	if (IS_ERR(audmux_clk)) {
 		dev_dbg(&pdev->dev, "cannot get clock: %ld\n",
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [PATCH 13/13] ASoC: mxs: mxs-saif: Let device core handle pinctrl
       [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
                   ` (6 preceding siblings ...)
  2013-05-06 18:06 ` [PATCH 12/13] ASoC: fsl: imx-audmux: " Fabio Estevam
@ 2013-05-06 18:06 ` Fabio Estevam
  2013-05-06 19:22   ` Mark Brown
  7 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-05-06 18:06 UTC (permalink / raw)
  To: shawn.guo; +Cc: Fabio Estevam, alsa-devel, Mark Brown, festevam, 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: Mark Brown <broonie@kernel.org>
Cc: <alsa-devel@alsa-project.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 sound/soc/mxs/mxs-saif.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index 3a2aa1d..12723b0 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -27,7 +27,6 @@
 #include <linux/delay.h>
 #include <linux/time.h>
 #include <linux/fsl/mxs-dma.h>
-#include <linux/pinctrl/consumer.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
@@ -661,7 +660,6 @@ static int mxs_saif_probe(struct platform_device *pdev)
 	struct device_node *np = pdev->dev.of_node;
 	struct resource *iores, *dmares;
 	struct mxs_saif *saif;
-	struct pinctrl *pinctrl;
 	int ret = 0;
 	struct device_node *master;
 
@@ -701,12 +699,6 @@ static int mxs_saif_probe(struct platform_device *pdev)
 
 	mxs_saif[saif->id] = saif;
 
-	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
-	if (IS_ERR(pinctrl)) {
-		ret = PTR_ERR(pinctrl);
-		return ret;
-	}
-
 	saif->clk = devm_clk_get(&pdev->dev, NULL);
 	if (IS_ERR(saif->clk)) {
 		ret = PTR_ERR(saif->clk);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* Re: [PATCH 12/13] ASoC: fsl: imx-audmux: Let device core handle pinctrl
  2013-05-06 18:06 ` [PATCH 12/13] ASoC: fsl: imx-audmux: " Fabio Estevam
@ 2013-05-06 19:21   ` Mark Brown
  0 siblings, 0 replies; 33+ messages in thread
From: Mark Brown @ 2013-05-06 19:21 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: alsa-devel, shawn.guo, festevam, kernel


[-- Attachment #1.1: Type: text/plain, Size: 309 bytes --]

On Mon, May 06, 2013 at 03:06:00PM -0300, Fabio Estevam wrote:
> Since commit ab78029 (drivers/pinctrl: grab default handles from device core),
> we can rely on device core for handling pinctrl.

This doesn't apply against some other changes I've got on my topic/fsl
branch.  Can you check and resend please?

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 13/13] ASoC: mxs: mxs-saif: Let device core handle pinctrl
  2013-05-06 18:06 ` [PATCH 13/13] ASoC: mxs: mxs-saif: " Fabio Estevam
@ 2013-05-06 19:22   ` Mark Brown
  0 siblings, 0 replies; 33+ messages in thread
From: Mark Brown @ 2013-05-06 19:22 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: alsa-devel, shawn.guo, festevam, kernel


[-- Attachment #1.1: Type: text/plain, Size: 287 bytes --]

On Mon, May 06, 2013 at 03:06:01PM -0300, Fabio Estevam 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. 

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 33+ 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: " 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; 33+ 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] 33+ 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; 33+ 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] 33+ 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; 33+ 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] 33+ 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; 33+ 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] 33+ messages in thread

* Re: [PATCH 10/13] serial: mxs-auart: Let device core handle pinctrl
  2013-05-06 18:05 ` [PATCH 10/13] serial: mxs-auart: " Fabio Estevam
@ 2013-05-20 18:49   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 33+ messages in thread
From: Greg Kroah-Hartman @ 2013-05-20 18:49 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: shawn.guo, kernel, festevam, linux-serial

On Mon, May 06, 2013 at 03:05:58PM -0300, Fabio Estevam 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: <linux-serial@vger.kernel.org>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 09/13] serial: imx: Let device core handle pinctrl
  2013-05-06 18:05 ` [PATCH 09/13] serial: imx: " Fabio Estevam
@ 2013-05-20 18:50   ` Greg Kroah-Hartman
  2013-05-26 17:46     ` Fabio Estevam
  0 siblings, 1 reply; 33+ messages in thread
From: Greg Kroah-Hartman @ 2013-05-20 18:50 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: shawn.guo, kernel, festevam, linux-serial

On Mon, May 06, 2013 at 03:05:57PM -0300, Fabio Estevam 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: <linux-serial@vger.kernel.org>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  drivers/tty/serial/imx.c |    9 ---------
>  1 file changed, 9 deletions(-)

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 09/13] serial: imx: Let device core handle pinctrl
  2013-05-20 18:50   ` Greg Kroah-Hartman
@ 2013-05-26 17:46     ` Fabio Estevam
  2013-05-26 19:01       ` Greg Kroah-Hartman
  0 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-05-26 17:46 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Fabio Estevam, shawn.guo, kernel, linux-serial

Hi Greg,

On Mon, May 20, 2013 at 3:50 PM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
> On Mon, May 06, 2013 at 03:05:57PM -0300, Fabio Estevam 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>> Cc: <linux-serial@vger.kernel.org>
>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>> ---
>>  drivers/tty/serial/imx.c |    9 ---------
>>  1 file changed, 9 deletions(-)
>
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Could you please apply this one and 10/13 in your tree?

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 09/13] serial: imx: Let device core handle pinctrl
  2013-05-26 17:46     ` Fabio Estevam
@ 2013-05-26 19:01       ` Greg Kroah-Hartman
  0 siblings, 0 replies; 33+ messages in thread
From: Greg Kroah-Hartman @ 2013-05-26 19:01 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Fabio Estevam, shawn.guo, kernel, linux-serial

On Sun, May 26, 2013 at 02:46:30PM -0300, Fabio Estevam wrote:
> Hi Greg,
> 
> On Mon, May 20, 2013 at 3:50 PM, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
> > On Mon, May 06, 2013 at 03:05:57PM -0300, Fabio Estevam 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> >> Cc: <linux-serial@vger.kernel.org>
> >> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> >> ---
> >>  drivers/tty/serial/imx.c |    9 ---------
> >>  1 file changed, 9 deletions(-)
> >
> > Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> Could you please apply this one and 10/13 in your tree?

Care to resend them so that I can?  I thought they depended on the
previous patches.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 03/13] i2c: i2c-mxs: Let device core handle pinctrl
       [not found]     ` <1367863561-11534-3-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
@ 2013-05-26 20:58       ` Fabio Estevam
       [not found]         ` <CAOMZO5Bju3v4gXayzZ6vMjr9WrSqcYWN+6fnyKMc3AaoYt44Gg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-05-26 20:58 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	Wolfram Sang, linux-i2c-u79uwXL29TY76Z2rM5mHXA

Hi Wolfram,

On Mon, May 6, 2013 at 3:05 PM, Fabio Estevam
<fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org> 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: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
> Cc: <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
> Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>

Any comments on this one?

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 05/13] mtd: gpmi-nand : Let device core handle pinctrl
  2013-05-06 18:05 ` [PATCH 05/13] mtd: gpmi-nand : " Fabio Estevam
@ 2013-05-26 21:00   ` Fabio Estevam
  2013-07-01  5:19   ` Artem Bityutskiy
  2013-07-01 11:49   ` Artem Bityutskiy
  2 siblings, 0 replies; 33+ messages in thread
From: Fabio Estevam @ 2013-05-26 21:00 UTC (permalink / raw)
  To: Artem Bityutskiy, Fabio Estevam; +Cc: shawn.guo, linux-mtd, kernel

Hi Artem,

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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> Cc: <linux-mtd@lists.infradead.org>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Any comments on this one?

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 04/13] mmc: mxs-mmc: Let device core handle pinctrl
  2013-05-06 18:05 ` [PATCH 04/13] mmc: mxs-mmc: Let device core handle pinctrl Fabio Estevam
@ 2013-05-26 21:01   ` Fabio Estevam
  2013-06-27 15:20     ` Chris Ball
  0 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-05-26 21:01 UTC (permalink / raw)
  To: cjb, Fabio Estevam; +Cc: shawn.guo, kernel, linux-mmc

Hi Chris,

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: Chris Ball <cjb@laptop.org>
> Cc: <linux-mmc@vger.kernel.org>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Any comments on this one?

^ permalink raw reply	[flat|nested] 33+ 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: " 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; 33+ 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] 33+ 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; 33+ 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] 33+ messages in thread

* Re: [PATCH 03/13] i2c: i2c-mxs: Let device core handle pinctrl
       [not found]         ` <CAOMZO5Bju3v4gXayzZ6vMjr9WrSqcYWN+6fnyKMc3AaoYt44Gg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-06-08  7:15           ` Wolfram Sang
  2013-06-08  7:49             ` Fabio Estevam
  0 siblings, 1 reply; 33+ messages in thread
From: Wolfram Sang @ 2013-06-08  7:15 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Fabio Estevam, shawn.guo-QSEj5FYQhm4dnm+yROfE0A,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-i2c-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]

On Sun, May 26, 2013 at 05:58:31PM -0300, Fabio Estevam wrote:
> Hi Wolfram,
> 
> On Mon, May 6, 2013 at 3:05 PM, Fabio Estevam
> <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org> 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: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
> > Cc: <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
> > Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> 
> Any comments on this one?

Yes, with series like this, you really need a cover-letter and CC it to
all people involved. And mention there if you want these patches go via
a specific tree or each patch via the corresponding subsystem tree. And
mention if the patches are depending on each other. Otherwise I don't
really know what to do with these patches.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 03/13] i2c: i2c-mxs: Let device core handle pinctrl
  2013-06-08  7:15           ` Wolfram Sang
@ 2013-06-08  7:49             ` Fabio Estevam
       [not found]               ` <CAOMZO5DQW7fB3Xi8mvymWhVZYcjuwTHKPyfDsWZCfw79AdUT7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 33+ messages in thread
From: Fabio Estevam @ 2013-06-08  7:49 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Fabio Estevam, shawn.guo-QSEj5FYQhm4dnm+yROfE0A,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-i2c-u79uwXL29TY76Z2rM5mHXA

On Sat, Jun 8, 2013 at 4:15 AM, Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org> wrote:

> Yes, with series like this, you really need a cover-letter and CC it to
> all people involved. And mention there if you want these patches go via
> a specific tree or each patch via the corresponding subsystem tree. And
> mention if the patches are depending on each other. Otherwise I don't
> really know what to do with these patches.

Ok, understood, Wolfram.

Please apply in your tree, if it looks good for you.

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 03/13] i2c: i2c-mxs: Let device core handle pinctrl
       [not found]               ` <CAOMZO5DQW7fB3Xi8mvymWhVZYcjuwTHKPyfDsWZCfw79AdUT7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-06-10 13:51                 ` Wolfram Sang
  0 siblings, 0 replies; 33+ messages in thread
From: Wolfram Sang @ 2013-06-10 13:51 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Fabio Estevam, shawn.guo-QSEj5FYQhm4dnm+yROfE0A,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ, linux-i2c-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 87 bytes --]


> Please apply in your tree, if it looks good for you.

Applied to for-next, thanks!


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 04/13] mmc: mxs-mmc: Let device core handle pinctrl
  2013-05-26 21:01   ` Fabio Estevam
@ 2013-06-27 15:20     ` Chris Ball
  0 siblings, 0 replies; 33+ messages in thread
From: Chris Ball @ 2013-06-27 15:20 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Fabio Estevam, shawn.guo, kernel, linux-mmc

Hi Fabio,

On Sun, May 26 2013, Fabio Estevam wrote:
> Hi Chris,
>
> 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: Chris Ball <cjb@laptop.org>
>> Cc: <linux-mmc@vger.kernel.org>
>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>
> Any comments on this one?

Thanks, pushed to mmc-next for 3.11.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 05/13] mtd: gpmi-nand : Let device core handle pinctrl
  2013-05-06 18:05 ` [PATCH 05/13] mtd: gpmi-nand : " Fabio Estevam
  2013-05-26 21:00   ` Fabio Estevam
@ 2013-07-01  5:19   ` Artem Bityutskiy
  2013-07-01 11:27     ` Fabio Estevam
  2013-07-01 11:49   ` Artem Bityutskiy
  2 siblings, 1 reply; 33+ messages in thread
From: Artem Bityutskiy @ 2013-07-01  5:19 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: festevam, shawn.guo, linux-mtd, kernel

On Mon, 2013-05-06 at 15:05 -0300, Fabio Estevam 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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> Cc: <linux-mtd@lists.infradead.org>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-- 
Best Regards,
Artem Bityutskiy

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 05/13] mtd: gpmi-nand : Let device core handle pinctrl
  2013-07-01  5:19   ` Artem Bityutskiy
@ 2013-07-01 11:27     ` Fabio Estevam
  0 siblings, 0 replies; 33+ messages in thread
From: Fabio Estevam @ 2013-07-01 11:27 UTC (permalink / raw)
  To: artem.bityutskiy; +Cc: Fabio Estevam, shawn.guo, linux-mtd, kernel

On Mon, Jul 1, 2013 at 2:19 AM, Artem Bityutskiy
<artem.bityutskiy@linux.intel.com> wrote:
> On Mon, 2013-05-06 at 15:05 -0300, Fabio Estevam 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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
>> Cc: <linux-mtd@lists.infradead.org>
>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>
> Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

Thanks, Artem.

Could you please apply this into your tree?

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [PATCH 05/13] mtd: gpmi-nand : Let device core handle pinctrl
  2013-05-06 18:05 ` [PATCH 05/13] mtd: gpmi-nand : " Fabio Estevam
  2013-05-26 21:00   ` Fabio Estevam
  2013-07-01  5:19   ` Artem Bityutskiy
@ 2013-07-01 11:49   ` Artem Bityutskiy
  2 siblings, 0 replies; 33+ messages in thread
From: Artem Bityutskiy @ 2013-07-01 11:49 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: festevam, shawn.guo, linux-mtd, kernel

On Mon, 2013-05-06 at 15:05 -0300, Fabio Estevam 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. 

Pushed to l2-mtd.git, thanks!

-- 
Best Regards,
Artem Bityutskiy

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2013-07-01 11:50 UTC | newest]

Thread overview: 33+ 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 04/13] mmc: mxs-mmc: Let device core handle pinctrl Fabio Estevam
2013-05-26 21:01   ` Fabio Estevam
2013-06-27 15:20     ` Chris Ball
2013-05-06 18:05 ` [PATCH 05/13] mtd: gpmi-nand : " Fabio Estevam
2013-05-26 21:00   ` Fabio Estevam
2013-07-01  5:19   ` Artem Bityutskiy
2013-07-01 11:27     ` Fabio Estevam
2013-07-01 11:49   ` Artem Bityutskiy
2013-05-06 18:05 ` [PATCH 06/13] pwm: pwm-mxs: " 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
     [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2013-05-06 18:05   ` [PATCH 02/13] i2c: i2c-imx: " Fabio Estevam
2013-05-06 18:05   ` [PATCH 03/13] i2c: i2c-mxs: " Fabio Estevam
     [not found]     ` <1367863561-11534-3-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2013-05-26 20:58       ` Fabio Estevam
     [not found]         ` <CAOMZO5Bju3v4gXayzZ6vMjr9WrSqcYWN+6fnyKMc3AaoYt44Gg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-08  7:15           ` Wolfram Sang
2013-06-08  7:49             ` Fabio Estevam
     [not found]               ` <CAOMZO5DQW7fB3Xi8mvymWhVZYcjuwTHKPyfDsWZCfw79AdUT7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-10 13:51                 ` Wolfram Sang
2013-05-06 18:05   ` [PATCH 07/13] spi: spi-imx: " Fabio Estevam
2013-05-06 18:05   ` [PATCH 08/13] spi: spi-mxs: " Fabio Estevam
2013-05-06 18:05 ` [PATCH 09/13] serial: imx: " Fabio Estevam
2013-05-20 18:50   ` Greg Kroah-Hartman
2013-05-26 17:46     ` Fabio Estevam
2013-05-26 19:01       ` Greg Kroah-Hartman
2013-05-06 18:05 ` [PATCH 10/13] serial: mxs-auart: " Fabio Estevam
2013-05-20 18:49   ` Greg Kroah-Hartman
2013-05-06 18:06 ` [PATCH 12/13] ASoC: fsl: imx-audmux: " Fabio Estevam
2013-05-06 19:21   ` Mark Brown
2013-05-06 18:06 ` [PATCH 13/13] ASoC: mxs: mxs-saif: " Fabio Estevam
2013-05-06 19:22   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.