• Jean Delvare's avatar
    [PATCH] I2C: More verbose debug in w83781d detection · 64f6fb4b
    Jean Delvare authored
    Quoting myself:
    > As for me, I will propose my extra-debug patch (slightly cleaned up)
    > for inclusion into the 2.6 kernel. It helped us once, so it could
    > prove to be valuable in the future as well.
    
    Here is the patch. It makes the w83781d (mis)detection more verbose so
    as to help debugging problems. The extra messages of course only show
    when I2C chip debugging is enabled. It additionally features some code
    refactoring, some CodingStyle cleanups and adds a missing white space in
    one debug message.
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    64f6fb4b
w83781d.c 51.2 KB