i2c: busses: make i2c_adapter_quirks const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 21 Aug 2017 12:12:04 +0000 (17:42 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 29 Aug 2017 20:32:47 +0000 (22:32 +0200)
commitae3923a284cc696311294022e9b1a49058f07387
treedf2e5df6f8176a6a24c020920994239cfbfa674b
parent329430ccfc9ff864315974cf2fe7a35b00be5e9f
i2c: busses: make i2c_adapter_quirks const

Make these const as they are only stored as a reference in the quirks
field of an i2c_adapter structure, which is const. Done using
Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-at91.c
drivers/i2c/busses/i2c-cpm.c
drivers/i2c/busses/i2c-mlxcpld.c
drivers/i2c/busses/i2c-opal.c
drivers/i2c/busses/i2c-powermac.c
drivers/i2c/busses/i2c-qup.c
drivers/i2c/busses/i2c-tegra.c