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/tridentfb.c | |
parent | e965a707276760cc010eb77fba64b08ee9e8781f (diff) | |
download | linux-stable-754bd2fffc913e523d1b9e686e8b1fd3a70d8f7e.tar.gz linux-stable-754bd2fffc913e523d1b9e686e8b1fd3a70d8f7e.tar.bz2 linux-stable-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/tridentfb.c')
-rw-r--r-- | drivers/video/fbdev/tridentfb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/tridentfb.c b/drivers/video/fbdev/tridentfb.c index 816d40b6f689..516cf2a18757 100644 --- a/drivers/video/fbdev/tridentfb.c +++ b/drivers/video/fbdev/tridentfb.c @@ -274,7 +274,6 @@ static int tridentfb_setup_ddc_bus(struct fb_info *info) strscpy(par->ddc_adapter.name, info->fix.id, sizeof(par->ddc_adapter.name)); par->ddc_adapter.owner = THIS_MODULE; - par->ddc_adapter.class = I2C_CLASS_DDC; par->ddc_adapter.algo_data = &par->ddc_algo; par->ddc_adapter.dev.parent = info->device; if (is_oldclock(par->chip_id)) { /* not sure if this check is OK */ |