• Guenter Roeck's avatar
    hwmon: (lm90) Add remaining chips supported by adm1021 driver · 37d1dc8d
    Guenter Roeck authored
    All chips supported by the ADM1021 driver are also supported by the LM90
    driver. Make that support official.
    
    After this change, the adm1021 driver is only needed if the lm90 driver
    is disabled. Also, the adm1021 driver misdetects a variety of chips as
    MAX1617A, which is unwanted if any of those chips is in the system.
    For this reason. make the adm1021 driver dependent on !SENSORS_LM90 to
    show that it is not needed if the lm90 driver is enabled, and to avoid
    misdetection if a chip supported by the lm90 driver is in the system.
    
    Devicetree nodes are not added for the added chips since it is quite
    unlikely that such old chips will ever be used in a devicetree based
    system. They can be added later if needed.
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    37d1dc8d
lm90.c 75.8 KB