]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
i2c: Simplify i2c_detect_address
authorJean Delvare <khali@linux-fr.org>
Sun, 6 Dec 2009 16:06:25 +0000 (17:06 +0100)
committerJean Delvare <khali@linux-fr.org>
Sun, 6 Dec 2009 16:06:25 +0000 (17:06 +0100)
commitccfbbd082a1c71667bead7124591ccd09f08ac90
tree2540e8371dd79afac9ec29707ce9a078a3c004be
parentc7b25a9e96dc89954ae8d8f473f56fae62030f84
i2c: Simplify i2c_detect_address

The kind parameter of i2c_detect_address() always has value -1, so we
can get rid of it.

Next step is to update all i2c detect callback functions to get rid of
this now useless parameter.

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