diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2023-11-23 10:40:25 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2024-01-18 21:10:41 +0100 |
commit | 754bd2fffc913e523d1b9e686e8b1fd3a70d8f7e (patch) | |
tree | d3e822f68a5d30bf68f3ae9202659c9160933554 /drivers/video/fbdev/tdfxfb.c | |
parent | drm: remove I2C_CLASS_DDC support (diff) | |
download | linux-754bd2fffc913e523d1b9e686e8b1fd3a70d8f7e.tar.xz linux-754bd2fffc913e523d1b9e686e8b1fd3a70d8f7e.zip |
fbdev: remove I2C_CLASS_DDC support
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in
olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC.
Class-based device auto-detection is a legacy mechanism and shouldn't
be used in new code. So we can remove this class completely now.
Acked-by: Helge Deller <deller@gmx.de>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/video/fbdev/tdfxfb.c')
-rw-r--r-- | drivers/video/fbdev/tdfxfb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/tdfxfb.c b/drivers/video/fbdev/tdfxfb.c index 22aa953138b0..51ebe78359ec 100644 --- a/drivers/video/fbdev/tdfxfb.c +++ b/drivers/video/fbdev/tdfxfb.c @@ -1267,7 +1267,6 @@ static int tdfxfb_setup_ddc_bus(struct tdfxfb_i2c_chan *chan, const char *name, strscpy(chan->adapter.name, name, sizeof(chan->adapter.name)); chan->adapter.owner = THIS_MODULE; - chan->adapter.class = I2C_CLASS_DDC; chan->adapter.algo_data = &chan->algo; chan->adapter.dev.parent = dev; chan->algo.setsda = tdfxfb_ddc_setsda; |