]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c: Convert the pcf8574 driver to a new-style i2c driver
authorJean Delvare <khali@linux-fr.org>
Wed, 16 Jul 2008 17:30:06 +0000 (19:30 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Wed, 16 Jul 2008 17:30:06 +0000 (19:30 +0200)
commit833bedb813689807385ae73175389c73a3f855c1
treef9b33add52ca947fd9f8ae89753eb8d534efc70e
parent8b77e6ac4911a79993e583ece719736a9e035b1d
i2c: Convert the pcf8574 driver to a new-style i2c driver

The new-style pcf8574 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/pcf857x.

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