• Jean Delvare's avatar
    i2c: Match dummy devices by type · 60b129d7
    Jean Delvare authored
    As the old driver_name/type matching scheme is going away soon, change
    the dummy device mechanism to use the new matching scheme.
    
    This has the downside that dummy i2c clients can no longer choose
    their name, they'll all appear as "dummy" in sysfs and in log
    messages. I don't think it is a problem in practice though, as there
    is little reason to use these i2c clients to log messages.
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    60b129d7
i2c-core.c 44.2 KB