* [PATCH 1/3] mmc: davinci: Remove redundant of_match_ptr
@ 2013-09-30 4:59 Sachin Kamat
2013-09-30 4:59 ` [PATCH 2/3] mmc: dw_mmc: " Sachin Kamat
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-30 4:59 UTC (permalink / raw)
To: linux-mmc; +Cc: cjb, tgih.jun, jh80.chung, sachin.kamat
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>
---
drivers/mmc/host/davinci_mmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
index e9fa87d..39b311e 100644
--- a/drivers/mmc/host/davinci_mmc.c
+++ b/drivers/mmc/host/davinci_mmc.c
@@ -1193,7 +1193,7 @@ static struct davinci_mmc_config
struct device_node *np;
struct davinci_mmc_config *pdata = pdev->dev.platform_data;
const struct of_device_id *match =
- of_match_device(of_match_ptr(davinci_mmc_dt_ids), &pdev->dev);
+ of_match_device(davinci_mmc_dt_ids, &pdev->dev);
u32 data;
np = pdev->dev.of_node;
@@ -1484,7 +1484,7 @@ static struct platform_driver davinci_mmcsd_driver = {
.name = "davinci_mmc",
.owner = THIS_MODULE,
.pm = davinci_mmcsd_pm_ops,
- .of_match_table = of_match_ptr(davinci_mmc_dt_ids),
+ .of_match_table = davinci_mmc_dt_ids,
},
.remove = __exit_p(davinci_mmcsd_remove),
.id_table = davinci_mmc_devtype,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] mmc: dw_mmc: Remove redundant of_match_ptr
2013-09-30 4:59 [PATCH 1/3] mmc: davinci: Remove redundant of_match_ptr Sachin Kamat
@ 2013-09-30 4:59 ` Sachin Kamat
2013-10-06 8:26 ` Jaehoon Chung
2013-10-23 11:18 ` Seungwon Jeon
2013-09-30 4:59 ` [PATCH 3/3] mmc: sdhci-dove: " Sachin Kamat
2013-10-21 3:07 ` [PATCH 1/3] mmc: davinci: " Sachin Kamat
2 siblings, 2 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-30 4:59 UTC (permalink / raw)
To: linux-mmc; +Cc: cjb, tgih.jun, jh80.chung, sachin.kamat
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>
---
drivers/mmc/host/dw_mmc-pltfm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c
index 5c49656..2553bfb 100644
--- a/drivers/mmc/host/dw_mmc-pltfm.c
+++ b/drivers/mmc/host/dw_mmc-pltfm.c
@@ -123,7 +123,7 @@ static struct platform_driver dw_mci_pltfm_driver = {
.remove = dw_mci_pltfm_remove,
.driver = {
.name = "dw_mmc",
- .of_match_table = of_match_ptr(dw_mci_pltfm_match),
+ .of_match_table = dw_mci_pltfm_match,
.pm = &dw_mci_pltfm_pmops,
},
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] mmc: sdhci-dove: Remove redundant of_match_ptr
2013-09-30 4:59 [PATCH 1/3] mmc: davinci: Remove redundant of_match_ptr Sachin Kamat
2013-09-30 4:59 ` [PATCH 2/3] mmc: dw_mmc: " Sachin Kamat
@ 2013-09-30 4:59 ` Sachin Kamat
2013-10-21 3:07 ` [PATCH 1/3] mmc: davinci: " Sachin Kamat
2 siblings, 0 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-30 4:59 UTC (permalink / raw)
To: linux-mmc; +Cc: cjb, tgih.jun, jh80.chung, sachin.kamat
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>
---
drivers/mmc/host/sdhci-dove.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c
index 8424839..736d7a2 100644
--- a/drivers/mmc/host/sdhci-dove.c
+++ b/drivers/mmc/host/sdhci-dove.c
@@ -208,7 +208,7 @@ static struct platform_driver sdhci_dove_driver = {
.name = "sdhci-dove",
.owner = THIS_MODULE,
.pm = SDHCI_PLTFM_PMOPS,
- .of_match_table = of_match_ptr(sdhci_dove_of_match_table),
+ .of_match_table = sdhci_dove_of_match_table,
},
.probe = sdhci_dove_probe,
.remove = sdhci_dove_remove,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] mmc: dw_mmc: Remove redundant of_match_ptr
2013-09-30 4:59 ` [PATCH 2/3] mmc: dw_mmc: " Sachin Kamat
@ 2013-10-06 8:26 ` Jaehoon Chung
2013-10-23 11:18 ` Seungwon Jeon
1 sibling, 0 replies; 6+ messages in thread
From: Jaehoon Chung @ 2013-10-06 8:26 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-mmc, cjb, tgih.jun
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
On 09/30/2013 01:59 PM, 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>
> ---
> drivers/mmc/host/dw_mmc-pltfm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c
> index 5c49656..2553bfb 100644
> --- a/drivers/mmc/host/dw_mmc-pltfm.c
> +++ b/drivers/mmc/host/dw_mmc-pltfm.c
> @@ -123,7 +123,7 @@ static struct platform_driver dw_mci_pltfm_driver = {
> .remove = dw_mci_pltfm_remove,
> .driver = {
> .name = "dw_mmc",
> - .of_match_table = of_match_ptr(dw_mci_pltfm_match),
> + .of_match_table = dw_mci_pltfm_match,
> .pm = &dw_mci_pltfm_pmops,
> },
> };
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3] mmc: davinci: Remove redundant of_match_ptr
2013-09-30 4:59 [PATCH 1/3] mmc: davinci: Remove redundant of_match_ptr Sachin Kamat
2013-09-30 4:59 ` [PATCH 2/3] mmc: dw_mmc: " Sachin Kamat
2013-09-30 4:59 ` [PATCH 3/3] mmc: sdhci-dove: " Sachin Kamat
@ 2013-10-21 3:07 ` Sachin Kamat
2 siblings, 0 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-10-21 3:07 UTC (permalink / raw)
To: linux-mmc; +Cc: Chris Ball, Sachin Kamat
On 30 September 2013 10:29, Sachin Kamat <sachin.kamat@linaro.org> 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>
> ---
> drivers/mmc/host/davinci_mmc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
> index e9fa87d..39b311e 100644
> --- a/drivers/mmc/host/davinci_mmc.c
> +++ b/drivers/mmc/host/davinci_mmc.c
> @@ -1193,7 +1193,7 @@ static struct davinci_mmc_config
> struct device_node *np;
> struct davinci_mmc_config *pdata = pdev->dev.platform_data;
> const struct of_device_id *match =
> - of_match_device(of_match_ptr(davinci_mmc_dt_ids), &pdev->dev);
> + of_match_device(davinci_mmc_dt_ids, &pdev->dev);
> u32 data;
>
> np = pdev->dev.of_node;
> @@ -1484,7 +1484,7 @@ static struct platform_driver davinci_mmcsd_driver = {
> .name = "davinci_mmc",
> .owner = THIS_MODULE,
> .pm = davinci_mmcsd_pm_ops,
> - .of_match_table = of_match_ptr(davinci_mmc_dt_ids),
> + .of_match_table = davinci_mmc_dt_ids,
> },
> .remove = __exit_p(davinci_mmcsd_remove),
> .id_table = davinci_mmc_devtype,
> --
> 1.7.9.5
>
Gentle ping on this series, Chris.
--
With warm regards,
Sachin
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH 2/3] mmc: dw_mmc: Remove redundant of_match_ptr
2013-09-30 4:59 ` [PATCH 2/3] mmc: dw_mmc: " Sachin Kamat
2013-10-06 8:26 ` Jaehoon Chung
@ 2013-10-23 11:18 ` Seungwon Jeon
1 sibling, 0 replies; 6+ messages in thread
From: Seungwon Jeon @ 2013-10-23 11:18 UTC (permalink / raw)
To: 'Sachin Kamat', linux-mmc; +Cc: cjb, jh80.chung
On Mon, September 30, 2013, 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>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Thanks,
Seungwon Jeon
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-10-23 11:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 4:59 [PATCH 1/3] mmc: davinci: Remove redundant of_match_ptr Sachin Kamat
2013-09-30 4:59 ` [PATCH 2/3] mmc: dw_mmc: " Sachin Kamat
2013-10-06 8:26 ` Jaehoon Chung
2013-10-23 11:18 ` Seungwon Jeon
2013-09-30 4:59 ` [PATCH 3/3] mmc: sdhci-dove: " Sachin Kamat
2013-10-21 3:07 ` [PATCH 1/3] mmc: davinci: " 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).