i2c: constify internal structures

Check for i2c_algorithm and i2c_adapter_quirks structures that are only
stored in the algo and quirks fields of an i2c_adapter structure
correspondingly. These fields are declared const, so i2c_algorithm and
i2c_adapter_quirks structures that have this property can be declared
as const also.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> (for designware)
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Gustavo A. R. Silva 2017-07-09 15:57:44 -05:00 • committed by Wolfram Sang
commit 8dc0f8c73c
4 changed files with 5 additions and 5 deletions