From: Roland Stigge <stigge@antcom.de>
To: Jingoo Han <jg1.han@samsung.com>,
'Dmitry Torokhov' <dmitry.torokhov@gmail.com>
Cc: 'Dmitry Torokhov' <dtor@mail.ru>, linux-input@vger.kernel.org
Subject: Re: PATCH 11/13] Input: lpc32xx_ts - Make of_device_id array const
Date: Wed, 07 May 2014 11:36:15 +0200 [thread overview]
Message-ID: <5369FE8F.1030802@antcom.de> (raw)
In-Reply-To: <023801cf69d6$36ce6ed0$a46b4c70$%han@samsung.com>
On 05/07/2014 11:24 AM, 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/input/touchscreen/lpc32xx_ts.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c
> index 2058253..bb47d34 100644
> --- a/drivers/input/touchscreen/lpc32xx_ts.c
> +++ b/drivers/input/touchscreen/lpc32xx_ts.c
> @@ -384,7 +384,7 @@ static const struct dev_pm_ops lpc32xx_ts_pm_ops = {
> #endif
>
> #ifdef CONFIG_OF
> -static struct of_device_id lpc32xx_tsc_of_match[] = {
> +static const struct of_device_id lpc32xx_tsc_of_match[] = {
> { .compatible = "nxp,lpc3220-tsc", },
> { },
> };
>
Acked-by: Roland Stigge <stigge@antcom.de>
next prev parent reply other threads:[~2014-05-07 9:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-07 9:11 [PATCH 01/13] Input: clps711x-keypad - Make of_device_id array const Jingoo Han
2014-05-07 9:15 ` [PATCH 02/13] Input: gpio_keys " Jingoo Han
2014-05-07 9:16 ` [PATCH 03/13] Input: gpio_keys_polled " Jingoo Han
2014-05-07 9:17 ` [PATCH 04/13] Input: imx_keypad " Jingoo Han
2014-05-07 9:18 ` [PATCH 05/13] Input: gpio-beeper " Jingoo Han
2014-05-07 9:19 ` [PATCH 06/13] Input: rotary_encoder " Jingoo Han
2014-05-07 9:20 ` [PATCH 07/13] Input: olpc_apsp " Jingoo Han
2014-05-07 9:21 ` [PATCH 08/13] Input: apbps2 " Jingoo Han
2014-05-07 9:22 ` [PATCH 09/13] Input: auo-pixcir-ts " Jingoo Han
2014-05-07 9:30 ` Heiko Stübner
2014-05-07 9:23 ` [PATCH 10/13] Input: egalax_ts " Jingoo Han
2014-05-07 9:24 ` PATCH 11/13] Input: lpc32xx_ts " Jingoo Han
2014-05-07 9:36 ` Roland Stigge [this message]
2014-05-07 9:25 ` [PATCH 12/13] Input: mms114 " Jingoo Han
2014-05-07 9:26 ` [PATCH 13/13] Input: zforce " Jingoo Han
2014-05-07 9:30 ` Heiko Stübner
2014-05-08 15:52 ` [PATCH 01/13] Input: clps711x-keypad " Dmitry Torokhov
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=5369FE8F.1030802@antcom.de \
--to=stigge@antcom.de \
--cc=dmitry.torokhov@gmail.com \
--cc=dtor@mail.ru \
--cc=jg1.han@samsung.com \
--cc=linux-input@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).