public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald <pmeerw@pmeerw.net>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 9/9] iio: hid-sensor-press: Constify platform_device_id
Date: Fri, 08 May 2015 11:05:14 -0400	[thread overview]
Message-ID: <554CD0AA.1030705@kernel.org> (raw)
In-Reply-To: <1430495618-31807-9-git-send-email-k.kozlowski.k@gmail.com>

On 01/05/15 11:53, Krzysztof Kozlowski wrote:
> The platform_device_id is not modified by the driver and core uses it as
> const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Whole series applied to the togreg branch of iio.git.  This will
get pushed out as testing for the autobuilders to play with it
(tomorrow probably).

Jonathan
> ---
>  drivers/iio/pressure/hid-sensor-press.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/pressure/hid-sensor-press.c b/drivers/iio/pressure/hid-sensor-press.c
> index 7bb8d4c1f7df..f3305d80c0b8 100644
> --- a/drivers/iio/pressure/hid-sensor-press.c
> +++ b/drivers/iio/pressure/hid-sensor-press.c
> @@ -362,7 +362,7 @@ static int hid_press_remove(struct platform_device *pdev)
>  	return 0;
>  }
>  
> -static struct platform_device_id hid_press_ids[] = {
> +static const struct platform_device_id hid_press_ids[] = {
>  	{
>  		/* Format: HID-SENSOR-usage_id_in_hex_lowercase */
>  		.name = "HID-SENSOR-200031",
> 


      reply	other threads:[~2015-05-08 18:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-01 15:53 [PATCH 1/9] iio: hid-sensor-accel-3d: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:53 ` [PATCH 2/9] iio: adc: axp288: " Krzysztof Kozlowski
2015-05-01 15:53 ` [PATCH 3/9] iio: hid-sensor-gyro-3d: " Krzysztof Kozlowski
2015-05-01 15:53 ` [PATCH 4/9] iio: light: hid-sensor-als: " Krzysztof Kozlowski
2015-05-01 15:53 ` [PATCH 5/9] iio: light: hid-sensor-prox: " Krzysztof Kozlowski
2015-05-01 15:53 ` [PATCH 6/9] iio: hid-sensor-magn-3d: " Krzysztof Kozlowski
2015-05-01 15:53 ` [PATCH 7/9] iio: hid-sensor-incl-3d: " Krzysztof Kozlowski
2015-05-01 15:53 ` [PATCH 8/9] iio: hid-sensor-rotation: " Krzysztof Kozlowski
2015-05-01 15:53 ` [PATCH 9/9] iio: hid-sensor-press: " Krzysztof Kozlowski
2015-05-08 15:05   ` Jonathan Cameron [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=554CD0AA.1030705@kernel.org \
    --to=jic23@kernel.org \
    --cc=k.kozlowski.k@gmail.com \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /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