linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-pwm@vger.kernel.org, thierry.reding@gmail.com
Subject: Re: [PATCH 3/3] pwm: imx: Remove redundant of_match_ptr
Date: Mon, 30 Sep 2013 10:14:15 +0200	[thread overview]
Message-ID: <20130930081415.GZ30088@pengutronix.de> (raw)
In-Reply-To: <1380511601-20977-3-git-send-email-sachin.kamat@linaro.org>

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 |

  reply	other threads:[~2013-09-30  8:14 UTC|newest]

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

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=20130930081415.GZ30088@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-pwm@vger.kernel.org \
    --cc=sachin.kamat@linaro.org \
    --cc=thierry.reding@gmail.com \
    /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).