Re: [PATCH] hwmon: Remove I2C_CLASS_HWMON from drivers w/o detect() and address_list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 27, 2024 at 04:02:54PM +0100, Heiner Kallweit wrote:
> Class-based I2C probing requires detect() and address_list to be
> set in the I2C client driver, see checks in i2c_detect().
> It's misleading to declare I2C_CLASS_HWMON support if this
> precondition isn't met.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>
> ---
>  drivers/hwmon/adm1177.c       | 1 -
>  drivers/hwmon/ds1621.c        | 1 -
>  drivers/hwmon/ds620.c         | 1 -
>  drivers/hwmon/ina209.c        | 1 -
>  drivers/hwmon/ina238.c        | 1 -
>  drivers/hwmon/max127.c        | 1 -
>  drivers/hwmon/max31760.c      | 1 -
>  drivers/hwmon/max31790.c      | 1 -
>  drivers/hwmon/max31827.c      | 1 -
>  drivers/hwmon/max6621.c       | 1 -
>  drivers/hwmon/max6697.c       | 1 -
>  drivers/hwmon/occ/p8_i2c.c    | 1 -
>  drivers/hwmon/pmbus/ir36021.c | 1 -
>  drivers/hwmon/powr1220.c      | 1 -
>  drivers/hwmon/sbrmi.c         | 1 -
>  drivers/hwmon/sbtsi_temp.c    | 1 -
>  drivers/hwmon/w83773g.c       | 1 -

Applied.

Thanks,
Guenter




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux