i2c: Convert the pca9539 driver to a new-style i2c driver
authorJean Delvare <khali@linux-fr.org>
Wed, 16 Jul 2008 17:30:07 +0000 (19:30 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Wed, 16 Jul 2008 17:30:07 +0000 (19:30 +0200)
commit3d63430a26b91fe3daee0dd933f899c225e66daa
tree88b10cf9d53c2c84f13eb60db0e6304ad8eff6da
parent97addff6def3f8e228a634fa017589f45c69de5c
i2c: Convert the pca9539 driver to a new-style i2c driver

The new-style pca9539 driver implements the optional detect() callback
to cover the use cases of the legacy driver.

Warning: users will now have to use the force module parameter to get
the driver to attach to their device. That's not a bad thing as these
devices can't be detected anyway.

Note that this doesn't change the fact that this driver is deprecated
in favor of gpio/pca953x.

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