]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
i2c: Constify i2c_get_clientdata's parameter
authorJean Delvare <khali@linux-fr.org>
Wed, 22 Oct 2008 18:21:31 +0000 (20:21 +0200)
committerJean Delvare <khali@linux-fr.org>
Wed, 22 Oct 2008 18:21:31 +0000 (20:21 +0200)
commit7d1d8999b4bec0ba09f935e648a688bb25596d06
tree31bdfc0e4d33e3311298c0f563bdfa58ff1a437c
parentd955cafb5c288aee4d71fc8759943e3f6cc9331d
i2c: Constify i2c_get_clientdata's parameter

i2c_get_clientdata doesn't change the i2c_client it is passed as a
parameter, so it can be constified. Same for i2c_get_adapdata.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/i2c/writing-clients
include/linux/device.h
include/linux/i2c.h