• Jean Delvare's avatar
    [PATCH] I2C: Rename hardware monitoring I2C class · 0c8a2f9d
    Jean Delvare authored
    Quoting myself:
    
    > Mmm, I once proposed that I2C_ADAP_CLASS_SMBUS would be better renamed
    > I2C_ADAP_CLASS_SENSORS (so I2C_CLASS_SENSORS now). What about that? I
    > think it would be great to embed that change into your patch, so that
    > the name changes only once.
    >
    > BTW, if HWMON is prefered to SENSORS, this is fine with me too, I
    > have no strong preference.
    
    Below is a patch that does that. I finally went for HWMON. Yes, it's
    big, but it's actually nothing more than
    s/I2C_CLASS_SMBUS/I2C_CLASS_HWMON/ (thanks perl -wip :)).
    0c8a2f9d
i2c-via.c 4.44 KB