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)
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

Simple merge