i2c: Make i2c_default_probe self-sufficient
authorJean Delvare <khali@linux-fr.org>
Wed, 11 Aug 2010 16:21:00 +0000 (18:21 +0200)
committerJean Delvare <khali@linux-fr.org>
Wed, 11 Aug 2010 16:21:00 +0000 (18:21 +0200)
commit8031d79baedabd44590d047d97a310eb0e0e4e0c
tree1ddc3e78c880fdfbcb2377f2f41ff1b9a797731b
parentd6703281ff20df6c2c0ea7c39a0cc2fa8be3e680
i2c: Make i2c_default_probe self-sufficient

Make i2c_default_probe self-sufficient, so that callers don't have to
do functionality checks themselves. This ensures everything is and
will stay consistent.

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