Re: [PATCH] i2c: busses: constify i2c_algorithm structures
From: Wolfram Sang
Date: Thu Feb 09 2017 - 11:10:32 EST
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@xxxxxxxxx>
Applied to for-next with a shortened commit message, thanks!
Attachment:
signature.asc
Description: PGP signature