linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: linux-imx@nxp.com, linux-pm@vger.kernel.org
Subject: Re: [PATCH 1/2] PM / devfreq: imx-bus: Remove unneeded of_match_ptr()
Date: Tue, 30 Mar 2021 11:18:34 +0900	[thread overview]
Message-ID: <fa22d132-4f9e-2051-1db9-901b018e6dfd@samsung.com> (raw)
In-Reply-To: <20210329122425.579386-1-festevam@gmail.com>

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

      parent reply	other threads:[~2021-03-30  2:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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   ` Chanwoo Choi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa22d132-4f9e-2051-1db9-901b018e6dfd@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=festevam@gmail.com \
    --cc=linux-imx@nxp.com \
    --cc=linux-pm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).