* [PATCH 1/2] PM / devfreq: imx-bus: Remove unneeded of_match_ptr()
@ 2021-03-29 12:24 ` Fabio Estevam
2021-03-29 12:24 ` [PATCH 2/2] PM / devfreq: imx8m-ddrc: " Fabio Estevam
2021-03-30 2:18 ` [PATCH 1/2] PM / devfreq: imx-bus: " Chanwoo Choi
0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2021-03-29 12:24 UTC (permalink / raw)
To: cw00.choi; +Cc: linux-imx, linux-pm, Fabio Estevam
i.MX is a DT-only platform, so of_match_ptr() can be safely
removed.
Remove the unneeded of_match_ptr().
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
drivers/devfreq/imx-bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/devfreq/imx-bus.c b/drivers/devfreq/imx-bus.c
index 4f38455ad742..3fc3fd77492d 100644
--- a/drivers/devfreq/imx-bus.c
+++ b/drivers/devfreq/imx-bus.c
@@ -169,7 +169,7 @@ static struct platform_driver imx_bus_platdrv = {
.probe = imx_bus_probe,
.driver = {
.name = "imx-bus-devfreq",
- .of_match_table = of_match_ptr(imx_bus_of_match),
+ .of_match_table = imx_bus_of_match,
},
};
module_platform_driver(imx_bus_platdrv);
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] PM / devfreq: imx8m-ddrc: Remove unneeded of_match_ptr()
2021-03-29 12:24 ` [PATCH 1/2] PM / devfreq: imx-bus: Remove unneeded of_match_ptr() Fabio Estevam
@ 2021-03-29 12:24 ` Fabio Estevam
2021-03-30 2:18 ` Chanwoo Choi
2021-03-30 2:18 ` [PATCH 1/2] PM / devfreq: imx-bus: " Chanwoo Choi
1 sibling, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2021-03-29 12:24 UTC (permalink / raw)
To: cw00.choi; +Cc: linux-imx, linux-pm, Fabio Estevam
i.MX is a DT-only platform, so of_match_ptr() can be safely
removed.
Remove the unneeded of_match_ptr().
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
drivers/devfreq/imx8m-ddrc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
index ecb9375aa877..16636973eb10 100644
--- a/drivers/devfreq/imx8m-ddrc.c
+++ b/drivers/devfreq/imx8m-ddrc.c
@@ -447,7 +447,7 @@ static struct platform_driver imx8m_ddrc_platdrv = {
.probe = imx8m_ddrc_probe,
.driver = {
.name = "imx8m-ddrc-devfreq",
- .of_match_table = of_match_ptr(imx8m_ddrc_of_match),
+ .of_match_table = imx8m_ddrc_of_match,
},
};
module_platform_driver(imx8m_ddrc_platdrv);
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] PM / devfreq: imx-bus: Remove unneeded of_match_ptr()
2021-03-29 12:24 ` [PATCH 1/2] PM / devfreq: imx-bus: Remove unneeded of_match_ptr() Fabio Estevam
2021-03-29 12:24 ` [PATCH 2/2] PM / devfreq: imx8m-ddrc: " Fabio Estevam
@ 2021-03-30 2:18 ` Chanwoo Choi
1 sibling, 0 replies; 4+ messages in thread
From: Chanwoo Choi @ 2021-03-30 2:18 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-imx, linux-pm
On 3/29/21 9:24 PM, Fabio Estevam wrote:
> i.MX is a DT-only platform, so of_match_ptr() can be safely
> removed.
>
> Remove the unneeded of_match_ptr().
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> drivers/devfreq/imx-bus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/devfreq/imx-bus.c b/drivers/devfreq/imx-bus.c
> index 4f38455ad742..3fc3fd77492d 100644
> --- a/drivers/devfreq/imx-bus.c
> +++ b/drivers/devfreq/imx-bus.c
> @@ -169,7 +169,7 @@ static struct platform_driver imx_bus_platdrv = {
> .probe = imx_bus_probe,
> .driver = {
> .name = "imx-bus-devfreq",
> - .of_match_table = of_match_ptr(imx_bus_of_match),
> + .of_match_table = imx_bus_of_match,
> },
> };
> module_platform_driver(imx_bus_platdrv);
>
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] PM / devfreq: imx8m-ddrc: Remove unneeded of_match_ptr()
2021-03-29 12:24 ` [PATCH 2/2] PM / devfreq: imx8m-ddrc: " Fabio Estevam
@ 2021-03-30 2:18 ` Chanwoo Choi
0 siblings, 0 replies; 4+ messages in thread
From: Chanwoo Choi @ 2021-03-30 2:18 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-imx, linux-pm
On 3/29/21 9:24 PM, Fabio Estevam wrote:
> i.MX is a DT-only platform, so of_match_ptr() can be safely
> removed.
>
> Remove the unneeded of_match_ptr().
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> drivers/devfreq/imx8m-ddrc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
> index ecb9375aa877..16636973eb10 100644
> --- a/drivers/devfreq/imx8m-ddrc.c
> +++ b/drivers/devfreq/imx8m-ddrc.c
> @@ -447,7 +447,7 @@ static struct platform_driver imx8m_ddrc_platdrv = {
> .probe = imx8m_ddrc_probe,
> .driver = {
> .name = "imx8m-ddrc-devfreq",
> - .of_match_table = of_match_ptr(imx8m_ddrc_of_match),
> + .of_match_table = imx8m_ddrc_of_match,
> },
> };
> module_platform_driver(imx8m_ddrc_platdrv);
>
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-30 2:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20210329122448epcas1p23b0917657190d25e11aabed424ec46bc@epcas1p2.samsung.com>
2021-03-29 12:24 ` [PATCH 1/2] PM / devfreq: imx-bus: Remove unneeded of_match_ptr() Fabio Estevam
2021-03-29 12:24 ` [PATCH 2/2] PM / devfreq: imx8m-ddrc: " Fabio Estevam
2021-03-30 2:18 ` Chanwoo Choi
2021-03-30 2:18 ` [PATCH 1/2] PM / devfreq: imx-bus: " Chanwoo Choi
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.