Re: [PATCH] hwmon: Drop non-functional I2C_CLASS_HWMON support for drivers w/o detect()

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

 



On Sat, Jan 27, 2024 at 06:45:00PM +0100, Heiner Kallweit wrote:
> Class-based I2C probing requires detect() and address_list both
> to be set in the I2C client driver, see checks in i2c_detect().
> It's misleading to declare I2C_CLASS_HWMON support if the driver
> doesn't implement detect().
> Class-based probing is a legacy mechanism, in addition apparently
> nobody ever noticed that class-based probing has been non-functional
> in both drivers from the very beginning. So drop the fragments of
> class-based probing support.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>

Applied.

Thanks a lot for the cleanup, appreciated!

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