mbox series

[v2,00/10] Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON

Message ID 20231124101619.6470-1-hkallweit1@gmail.com
Headers show
Series Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON | expand

Message

Heiner Kallweit Nov. 24, 2023, 10:16 a.m. UTC
After removal of the legacy eeprom driver the only remaining I2C
client device driver supporting I2C_CLASS_SPD is jc42. Because this
driver also supports I2C_CLASS_HWMON, adapters don't have to
declare support for I2C_CLASS_SPD if they support I2C_CLASS_HWMON.
It's one step towards getting rid of I2C_CLASS_SPD mid-term.

Series was created supported by Coccinelle and its splitpatch.

v2:
- fix style issue in patch 4
- add ack in patch 2
- set proper subject prefix for all patches

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

---

 drivers/i2c/busses/i2c-ali1535.c                  |    2 +-
 drivers/i2c/busses/i2c-ali1563.c                  |    2 +-
 drivers/i2c/busses/i2c-ali15x3.c                  |    2 +-
 drivers/i2c/busses/i2c-amd756.c                   |    2 +-
 drivers/i2c/busses/i2c-amd8111.c                  |    2 +-
 drivers/i2c/busses/i2c-elektor.c                  |    2 +-
 drivers/i2c/busses/i2c-gpio.c                     |    2 +-
 drivers/i2c/busses/i2c-ibm_iic.c                  |    2 +-
 drivers/i2c/busses/i2c-iop3xx.c                   |    2 +-
 drivers/i2c/busses/i2c-isch.c                     |    2 +-
 drivers/i2c/busses/i2c-kempld.c                   |    3 +--
 drivers/i2c/busses/i2c-mlxcpld.c                  |    2 +-
 drivers/i2c/busses/i2c-nforce2.c                  |    2 +-
 drivers/i2c/busses/i2c-pasemi-pci.c               |    2 +-
 drivers/i2c/busses/i2c-piix4.c                    |    2 +-
 drivers/i2c/busses/i2c-scmi.c                     |    2 +-
 drivers/i2c/busses/i2c-sh7760.c                   |    2 +-
 drivers/i2c/busses/i2c-sibyte.c                   |    4 ++--
 drivers/i2c/busses/i2c-sis5595.c                  |    2 +-
 drivers/i2c/busses/i2c-sis630.c                   |    2 +-
 drivers/i2c/busses/i2c-sis96x.c                   |    2 +-
 drivers/i2c/busses/i2c-via.c                      |    2 +-
 drivers/i2c/busses/i2c-viapro.c                   |    2 +-
 drivers/i2c/busses/scx200_acb.c                   |    2 +-
 drivers/i2c/i2c-stub.c                            |    2 +-
 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c |    2 +-
 drivers/staging/greybus/i2c.c                     |    2 +-
 27 files changed, 28 insertions(+), 29 deletions(-)

Comments

Heiner Kallweit Dec. 16, 2023, 8:23 p.m. UTC | #1
On 24.11.2023 11:16, Heiner Kallweit wrote:
> After removal of the legacy eeprom driver the only remaining I2C
> client device driver supporting I2C_CLASS_SPD is jc42. Because this
> driver also supports I2C_CLASS_HWMON, adapters don't have to
> declare support for I2C_CLASS_SPD if they support I2C_CLASS_HWMON.
> It's one step towards getting rid of I2C_CLASS_SPD mid-term.
> 
> Series was created supported by Coccinelle and its splitpatch.
> 
> v2:
> - fix style issue in patch 4
> - add ack in patch 2
> - set proper subject prefix for all patches
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> 
> ---
> 
>  drivers/i2c/busses/i2c-ali1535.c                  |    2 +-
>  drivers/i2c/busses/i2c-ali1563.c                  |    2 +-
>  drivers/i2c/busses/i2c-ali15x3.c                  |    2 +-
>  drivers/i2c/busses/i2c-amd756.c                   |    2 +-
>  drivers/i2c/busses/i2c-amd8111.c                  |    2 +-
>  drivers/i2c/busses/i2c-elektor.c                  |    2 +-
>  drivers/i2c/busses/i2c-gpio.c                     |    2 +-
>  drivers/i2c/busses/i2c-ibm_iic.c                  |    2 +-
>  drivers/i2c/busses/i2c-iop3xx.c                   |    2 +-
>  drivers/i2c/busses/i2c-isch.c                     |    2 +-
>  drivers/i2c/busses/i2c-kempld.c                   |    3 +--
>  drivers/i2c/busses/i2c-mlxcpld.c                  |    2 +-
>  drivers/i2c/busses/i2c-nforce2.c                  |    2 +-
>  drivers/i2c/busses/i2c-pasemi-pci.c               |    2 +-
>  drivers/i2c/busses/i2c-piix4.c                    |    2 +-
>  drivers/i2c/busses/i2c-scmi.c                     |    2 +-
>  drivers/i2c/busses/i2c-sh7760.c                   |    2 +-
>  drivers/i2c/busses/i2c-sibyte.c                   |    4 ++--
>  drivers/i2c/busses/i2c-sis5595.c                  |    2 +-
>  drivers/i2c/busses/i2c-sis630.c                   |    2 +-
>  drivers/i2c/busses/i2c-sis96x.c                   |    2 +-
>  drivers/i2c/busses/i2c-via.c                      |    2 +-
>  drivers/i2c/busses/i2c-viapro.c                   |    2 +-
>  drivers/i2c/busses/scx200_acb.c                   |    2 +-
>  drivers/i2c/i2c-stub.c                            |    2 +-
>  drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c |    2 +-
>  drivers/staging/greybus/i2c.c                     |    2 +-
>  27 files changed, 28 insertions(+), 29 deletions(-)

This series and my other series are sitting idle in patchwork
for 3 weeks now. AFAICS they have the needed ack's.
Anything missing before they can be applied?