-
- Downloads
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>
Showing
- drivers/i2c/busses/i2c-davinci.c 1 addition, 1 deletiondrivers/i2c/busses/i2c-davinci.c
- drivers/i2c/busses/i2c-designware-slave.c 1 addition, 1 deletiondrivers/i2c/busses/i2c-designware-slave.c
- drivers/i2c/busses/i2c-pmcmsp.c 2 additions, 2 deletionsdrivers/i2c/busses/i2c-pmcmsp.c
- drivers/i2c/busses/i2c-stm32f4.c 1 addition, 1 deletiondrivers/i2c/busses/i2c-stm32f4.c
Loading
Please register or sign in to comment