* [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr
@ 2013-09-30 3:26 Sachin Kamat
2013-09-30 3:26 ` [PATCH 2/3] pwm: lpc32xx: " Sachin Kamat
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Sachin Kamat @ 2013-09-30 3:26 UTC (permalink / raw)
To: linux-pwm; +Cc: thierry.reding, sachin.kamat, Shawn Guo
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
drivers/pwm/pwm-mxs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
index c2c5a4f..9475bc7 100644
--- a/drivers/pwm/pwm-mxs.c
+++ b/drivers/pwm/pwm-mxs.c
@@ -189,7 +189,7 @@ static struct platform_driver mxs_pwm_driver = {
.driver = {
.name = "mxs-pwm",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(mxs_pwm_dt_ids),
+ .of_match_table = mxs_pwm_dt_ids,
},
.probe = mxs_pwm_probe,
.remove = mxs_pwm_remove,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] pwm: lpc32xx: Remove redundant of_match_ptr
2013-09-30 3:26 [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr Sachin Kamat
@ 2013-09-30 3:26 ` Sachin Kamat
2013-09-30 3:26 ` [PATCH 3/3] pwm: imx: " Sachin Kamat
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Sachin Kamat @ 2013-09-30 3:26 UTC (permalink / raw)
To: linux-pwm; +Cc: thierry.reding, sachin.kamat, Alexandre Pereira da Silva
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
---
drivers/pwm/pwm-lpc32xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-lpc32xx.c b/drivers/pwm/pwm-lpc32xx.c
index efac99e0..9dc0f9d 100644
--- a/drivers/pwm/pwm-lpc32xx.c
+++ b/drivers/pwm/pwm-lpc32xx.c
@@ -169,7 +169,7 @@ static struct platform_driver lpc32xx_pwm_driver = {
.driver = {
.name = "lpc32xx-pwm",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(lpc32xx_pwm_dt_ids),
+ .of_match_table = lpc32xx_pwm_dt_ids,
},
.probe = lpc32xx_pwm_probe,
.remove = lpc32xx_pwm_remove,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] pwm: imx: Remove redundant of_match_ptr
2013-09-30 3:26 [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr Sachin Kamat
2013-09-30 3:26 ` [PATCH 2/3] pwm: lpc32xx: " Sachin Kamat
@ 2013-09-30 3:26 ` Sachin Kamat
2013-09-30 8:14 ` Sascha Hauer
2013-10-05 2:15 ` [PATCH 1/3] pwm: mxs: " Shawn Guo
2013-10-08 13:50 ` Thierry Reding
3 siblings, 1 reply; 7+ messages in thread
From: Sachin Kamat @ 2013-09-30 3:26 UTC (permalink / raw)
To: linux-pwm; +Cc: thierry.reding, sachin.kamat, Sascha Hauer
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/pwm/pwm-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
index aa6e5c6..cc47733 100644
--- a/drivers/pwm/pwm-imx.c
+++ b/drivers/pwm/pwm-imx.c
@@ -297,7 +297,7 @@ static struct platform_driver imx_pwm_driver = {
.driver = {
.name = "imx-pwm",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(imx_pwm_dt_ids),
+ .of_match_table = imx_pwm_dt_ids,
},
.probe = imx_pwm_probe,
.remove = imx_pwm_remove,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] pwm: imx: Remove redundant of_match_ptr
2013-09-30 3:26 ` [PATCH 3/3] pwm: imx: " Sachin Kamat
@ 2013-09-30 8:14 ` Sascha Hauer
0 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2013-09-30 8:14 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-pwm, thierry.reding
On Mon, Sep 30, 2013 at 08:56:41AM +0530, Sachin Kamat wrote:
> The data structure of_match_ptr() protects is always compiled in.
> Hence of_match_ptr() is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha
> ---
> drivers/pwm/pwm-imx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
> index aa6e5c6..cc47733 100644
> --- a/drivers/pwm/pwm-imx.c
> +++ b/drivers/pwm/pwm-imx.c
> @@ -297,7 +297,7 @@ static struct platform_driver imx_pwm_driver = {
> .driver = {
> .name = "imx-pwm",
> .owner = THIS_MODULE,
> - .of_match_table = of_match_ptr(imx_pwm_dt_ids),
> + .of_match_table = imx_pwm_dt_ids,
> },
> .probe = imx_pwm_probe,
> .remove = imx_pwm_remove,
> --
> 1.7.9.5
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr
2013-09-30 3:26 [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr Sachin Kamat
2013-09-30 3:26 ` [PATCH 2/3] pwm: lpc32xx: " Sachin Kamat
2013-09-30 3:26 ` [PATCH 3/3] pwm: imx: " Sachin Kamat
@ 2013-10-05 2:15 ` Shawn Guo
2013-10-08 13:50 ` Thierry Reding
3 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2013-10-05 2:15 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-pwm, thierry.reding
On Mon, Sep 30, 2013 at 08:56:39AM +0530, Sachin Kamat wrote:
> The data structure of_match_ptr() protects is always compiled in.
> Hence of_match_ptr() is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
> ---
> drivers/pwm/pwm-mxs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
> index c2c5a4f..9475bc7 100644
> --- a/drivers/pwm/pwm-mxs.c
> +++ b/drivers/pwm/pwm-mxs.c
> @@ -189,7 +189,7 @@ static struct platform_driver mxs_pwm_driver = {
> .driver = {
> .name = "mxs-pwm",
> .owner = THIS_MODULE,
> - .of_match_table = of_match_ptr(mxs_pwm_dt_ids),
> + .of_match_table = mxs_pwm_dt_ids,
> },
> .probe = mxs_pwm_probe,
> .remove = mxs_pwm_remove,
> --
> 1.7.9.5
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr
2013-09-30 3:26 [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr Sachin Kamat
` (2 preceding siblings ...)
2013-10-05 2:15 ` [PATCH 1/3] pwm: mxs: " Shawn Guo
@ 2013-10-08 13:50 ` Thierry Reding
2013-10-08 15:24 ` Sachin Kamat
3 siblings, 1 reply; 7+ messages in thread
From: Thierry Reding @ 2013-10-08 13:50 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-pwm, Shawn Guo
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
On Mon, Sep 30, 2013 at 08:56:39AM +0530, Sachin Kamat wrote:
> The data structure of_match_ptr() protects is always compiled in.
> Hence of_match_ptr() is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Shawn Guo <shawn.guo@linaro.org>
> ---
> drivers/pwm/pwm-mxs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied (the series), thanks.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr
2013-10-08 13:50 ` Thierry Reding
@ 2013-10-08 15:24 ` Sachin Kamat
0 siblings, 0 replies; 7+ messages in thread
From: Sachin Kamat @ 2013-10-08 15:24 UTC (permalink / raw)
To: Thierry Reding; +Cc: linux-pwm
On 8 October 2013 19:20, Thierry Reding <thierry.reding@gmail.com> wrote:
> On Mon, Sep 30, 2013 at 08:56:39AM +0530, Sachin Kamat wrote:
>> The data structure of_match_ptr() protects is always compiled in.
>> Hence of_match_ptr() is not needed.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> Cc: Shawn Guo <shawn.guo@linaro.org>
>> ---
>> drivers/pwm/pwm-mxs.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Applied (the series), thanks.
>
Thanks Thierry.
--
With warm regards,
Sachin
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-10-08 15:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 3:26 [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr Sachin Kamat
2013-09-30 3:26 ` [PATCH 2/3] pwm: lpc32xx: " Sachin Kamat
2013-09-30 3:26 ` [PATCH 3/3] pwm: imx: " Sachin Kamat
2013-09-30 8:14 ` Sascha Hauer
2013-10-05 2:15 ` [PATCH 1/3] pwm: mxs: " Shawn Guo
2013-10-08 13:50 ` Thierry Reding
2013-10-08 15:24 ` Sachin Kamat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).