linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1@gmail.com>
To: Wolfram Sang <wsa@kernel.org>
Cc: linux-i2c@vger.kernel.org, Heiner Kallweit <hkallweit1@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH v4 20/20] include/linux/i2c.h: remove I2C_CLASS_DDC support
Date: Mon, 20 Nov 2023 22:46:23 +0100	[thread overview]
Message-ID: <20231120214624.9378-21-hkallweit1@gmail.com> (raw)
In-Reply-To: <20231120214624.9378-1-hkallweit1@gmail.com>

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.

Preferably this series should be applied via the i2c tree.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

---
 include/linux/i2c.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 0dae9db27..d029aade3 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -850,7 +850,6 @@ static inline void i2c_mark_adapter_resumed(struct i2c_adapter *adap)
 
 /* i2c adapter classes (bitmask) */
 #define I2C_CLASS_HWMON		(1<<0)	/* lm_sensors, ... */
-#define I2C_CLASS_DDC		(1<<3)	/* DDC bus on graphics adapters */
 #define I2C_CLASS_SPD		(1<<7)	/* Memory modules */
 /* Warn users that the adapter doesn't support classes anymore */
 #define I2C_CLASS_DEPRECATED	(1<<8)


  parent reply	other threads:[~2023-11-20 21:47 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20 21:46 [PATCH v4 00/20] remove I2C_CLASS_DDC support Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 01/20] drivers/gpu/drm/rockchip: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 02/20] drivers/gpu/drm/mgag200/mgag200_i2c.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 03/20] drm/amd/display: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 04/20] drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 05/20] drivers/video/fbdev: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 06/20] drivers/video/fbdev/core/fb_ddc.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 07/20] drivers/gpu/drm: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 08/20] drivers/gpu/drm/loongson/lsdc_i2c.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 09/20] drivers/video/fbdev/via/via_i2c.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 10/20] drivers/video/fbdev/cyber2000fb.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 11/20] drivers/gpu/drm/bridge/synopsys/dw-hdmi.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 12/20] drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 13/20] drivers/video/fbdev/intelfb/intelfb_i2c.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 14/20] drivers/gpu/drm/msm/hdmi/hdmi_i2c.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 15/20] drivers/gpu/drm/i915/display: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 16/20] drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 17/20] drivers/gpu/drm/ast/ast_i2c.c: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 18/20] drivers/gpu/drm/gma500: " Heiner Kallweit
2023-11-20 21:46 ` [PATCH v4 19/20] drivers/gpu/drm/display: " Heiner Kallweit
2023-11-20 21:46 ` Heiner Kallweit [this message]
2023-11-21  8:58 ` [Intel-gfx] [PATCH v4 00/20] " Jani Nikula
2023-11-21 12:25   ` Heiner Kallweit
2023-11-23  6:56 ` Thomas Zimmermann
2023-11-23  7:16   ` Heiner Kallweit
2023-11-23  8:19     ` Thomas Zimmermann
2023-11-23  8:34       ` Heiner Kallweit
2023-11-23  8:52         ` Thomas Zimmermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231120214624.9378-21-hkallweit1@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wsa@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).