i2c: constify i2c_adapter_quirks structures
authorJulia Lawall <julia.lawall@lip6.fr>
Sat, 15 Oct 2016 17:32:01 +0000 (19:32 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 18 Nov 2016 01:05:03 +0000 (02:05 +0100)
commit379883cc67d890e0412d6e6c952d7eb0614b915a
tree6524bd62e60c635277f6f6caedc1b68d7e747589
parentff3a98be794d13dc0104c0a1fbab2b52f1a3299b
i2c: constify i2c_adapter_quirks structures

Check for i2c_adapter_quirks structures that are only stored in the
quirks field of an i2c_adapter structure.  This field is declared
const, so i2c_adapter_quirks structures that have this property can be
declared as const also.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Ray Jui <ray.jui@broadcom.com> # for bcm-iproc
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-axxia.c
drivers/i2c/busses/i2c-bcm-iproc.c
drivers/i2c/busses/i2c-dln2.c
drivers/i2c/busses/i2c-viperboard.c