i2c: Convert the pcf8591 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)
commit8b77e6ac4911a79993e583ece719736a9e035b1d
tree91019e9effc2ceb173c08c00ed5698057beb4ccf
parent68be3363740e4ac3b4309faebcdf8fe5bf62ed2f
i2c: Convert the pcf8591 driver to a new-style i2c driver

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

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