Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577738

Re: [PATCH] i2c: busses: constify i2c_algorithm structures

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH] i2c: busses: constify i2c_algorithm structures
Date 2017-02-09 17:20 +0100
Message-ID <t8ZBT-8mq-9@gated-at.bofh.it> (permalink)
References <t4j8d-7uS-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jan 27, 2017 at 11:36:17PM +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.
> 
> Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>

Applied to for-next with a shortened commit message, thanks!

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] i2c: busses: constify i2c_algorithm structures Wolfram Sang <wsa@the-dreams.de> - 2017-02-09 17:20 +0100

csiph-web