• Jean Delvare's avatar
    i2c: Drop probe, ignore and force module parameters · c7b25a9e
    Jean Delvare authored
    The legacy probe and force module parameters are obsolete now, the
    same can be achieved using the new_device sysfs interface, which is
    both more flexible and cheaper (it is implemented by i2c-core rather
    than replicated in every driver module.)
    
    The legacy ignore module parameters can be dropped as well. Ignoring
    can be done by instantiating a "dummy" device at the problematic
    address.
    
    This is the first step of a huge cleanup to i2c-core's i2c_detect
    function, i2c.h's I2C_CLIENT_INSMOD* macros, and all drivers that made
    use of them.
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    c7b25a9e
old-module-parameters 1.85 KB