i2c: busses: make i2c_algorithm const
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 18 Aug 2017 16:06:57 +0000 (21:36 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 29 Aug 2017 20:20:20 +0000 (22:20 +0200)
commitad3caf8abc385b974d863b7a7a2950f4b089fee8
tree491b32a489fc560968952689b2a2fd123d52e2b5
parent8b9ec0719834fe66146d138d62ed66cef025c864
i2c: busses: make i2c_algorithm const

Make these const as they are only stored in the algo field of
i2c_adapter structure, which is const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pnx.c
drivers/i2c/busses/i2c-puv3.c