• Jean Delvare's avatar
    i2c: Convert the pcf8575 driver to a new-style i2c driver · 97addff6
    Jean Delvare authored
    The new-style pcf8575 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: default avatarJean Delvare <khali@linux-fr.org>
    97addff6
pcf8575.c 4.75 KB