mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pawel Moll <pawel.moll@arm.com>
To: Jingoo Han <jg1.han@samsung.com>
Cc: "'Mark Brown'" <broonie@kernel.org>,
	"'Liam Girdwood'" <lgirdwood@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 5/5] regulator: vexpress: Make of_device_id array const
Date: Wed, 07 May 2014 09:12:06 +0100	[thread overview]
Message-ID: <1399450326.3706.9.camel@hornet> (raw)
In-Reply-To: <01ef01cf69cb$a1a66d30$e4f34790$%han@samsung.com>

On Wed, 2014-05-07 at 09:09 +0100, Jingoo Han wrote:
> Make of_device_id array const, because all OF functions
> handle it as const.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
> ---
>  drivers/regulator/vexpress.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c
> index f3ae28a..147ecc7 100644
> --- a/drivers/regulator/vexpress.c
> +++ b/drivers/regulator/vexpress.c
> @@ -123,7 +123,7 @@ static int vexpress_regulator_remove(struct platform_device *pdev)
>  	return 0;
>  }
>  
> -static struct of_device_id vexpress_regulator_of_match[] = {
> +static const struct of_device_id vexpress_regulator_of_match[] = {
>  	{ .compatible = "arm,vexpress-volt", },
>  	{ }
>  };

Acked-by: Pawel Moll <pawel.moll@arm.com>

Thanks!

Pawel


  reply	other threads:[~2014-05-07  8:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07  7:55 [PATCH 1/5] regulator: anatop: " Jingoo Han
2014-05-07  8:06 ` [PATCH 2/5] regulator: max8952: " Jingoo Han
2014-05-07  8:42   ` Krzysztof Kozlowski
2014-05-07  8:07 ` [PATCH 3/5] regulator: palmas: " Jingoo Han
2014-05-07  8:08 ` [PATCH 4/5] regulator: st-pwm: " Jingoo Han
2014-05-07  8:09 ` [PATCH 5/5] regulator: vexpress: " Jingoo Han
2014-05-07  8:12   ` Pawel Moll [this message]
2014-05-07 19:55 ` [PATCH 1/5] regulator: anatop: " Mark Brown

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=1399450326.3706.9.camel@hornet \
    --to=pawel.moll@arm.com \
    --cc=broonie@kernel.org \
    --cc=jg1.han@samsung.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@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

Powered by JetHome