summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-core-base.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2023-10-10 22:27:44 +0300
committerWolfram Sang <wsa@kernel.org>2023-10-21 21:46:38 +0300
commit80e56b86b59e74ca388c72b404aa32dde19de199 (patch)
treeb723a31941d960584f88b97984a3867c6252b137 /drivers/i2c/i2c-core-base.c
parent445094c8a9fb1ea644aa4e78ba47ccad1cf6c9f5 (diff)
downloadlinux-80e56b86b59e74ca388c72b404aa32dde19de199.tar.xz
i2c: i801: Simplify class-based client device instantiation
Now that the legacy eeprom driver was removed, the only remaining i2c client driver with class SPD autodetection is jc42, and this driver supports also class HWMON. Therefore we can remove class SPD from the supported classes of the i801 adapter driver. Legacy class-based instantiation shouldn't be used in new code, so I think we can remove also the generic logic that ensures that supported classes of parent and muxed adapters don't overlap. Note: i801 parent supports just class HWMON now, and muxed childs class SPD, so the supported classes don't overlap. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Acked-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/i2c-core-base.c')
0 files changed, 0 insertions, 0 deletions