i2c: Constify i2c_client where possible
authorJean Delvare <khali@linux-fr.org>
Mon, 10 Jan 2011 21:11:23 +0000 (22:11 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 10 Jan 2011 21:11:23 +0000 (22:11 +0100)
commit0cc43a1806f078f7fd414850d8f1f1761696e4af
tree2278fca3af95002a867fa72b34e4ca97ccf5489f
parentaf5a60baaee66e2f891dbb9a8519ca28ab7da7cd
i2c: Constify i2c_client where possible

Helper functions for I2C and SMBus transactions don't modify the
i2c_client that is passed to them, so it can be marked const.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c
drivers/rtc/rtc-ds1307.c
include/linux/i2c.h