linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: jdelvare@suse.de (Jean Delvare)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] i2c: busses: constify i2c_algorithm structures
Date: Tue, 31 Jan 2017 15:22:49 +0100	[thread overview]
Message-ID: <20170131152249.07265d1d@endymion> (raw)
In-Reply-To: <1485540377-13686-1-git-send-email-bhumirks@gmail.com>

On Fri, 27 Jan 2017 23:36:17 +0530, Bhumika Goyal wrote:
> Declare i2c_algorithm structures as const as they are only stored in the
> algo field of an i2c_adapter structure. This field is of type const, so
> i2c_algorithm structures having this property can be made const too.
> (...)

I have vague memories that I tried to do the same long ago and it
didn't work back then. But I can't no longer remember the details, and
today it seems just fine to do it.

Reviewed-by: Jean Delvare <jdelvare@suse.de>

-- 
Jean Delvare
SUSE L3 Support

  parent reply	other threads:[~2017-01-31 14:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-27 18:06 [PATCH] i2c: busses: constify i2c_algorithm structures Bhumika Goyal
2017-01-29 10:28 ` Uwe Kleine-König
2017-01-30  9:41 ` Patrice CHOTARD
2017-01-30 11:15 ` Jarkko Nikula
2017-01-31 14:22 ` Jean Delvare [this message]
2017-02-06 16:12 ` Ludovic Desroches
2017-02-09 16:08 ` Wolfram Sang

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=20170131152249.07265d1d@endymion \
    --to=jdelvare@suse.de \
    --cc=linux-arm-kernel@lists.infradead.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).