diff options
author | Heiner Kallweit <[email protected]> | 2024-01-27 18:45:00 +0100 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2024-02-11 13:43:08 -0800 |
commit | 7a0564448a861952e9dc032de146abd19ea5a096 (patch) | |
tree | 2e9df149d800ec5ea0eb500cf4ee8d56162ed293 /include/linux/overflow.h | |
parent | 3317f2385f093d7dc17cf492a6676e7be5597349 (diff) |
hwmon: Drop non-functional I2C_CLASS_HWMON support for drivers w/o detect()
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions