[PATCH] i2c: busses: constify i2c_algorithm structures

Wolfram Sang wsa at the-dreams.de
Thu Feb 9 08:08:13 PST 2017


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 at gmail.com>

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170209/c5308865/attachment.sig>


More information about the linux-arm-kernel mailing list