[PATCH 6.12.y-cip 0/8] i2c: riic: miscellaneous code cleanup and improvements

Lad Prabhakar
2025-04-23T21:05:09Z

Hi All,

This patch series includes miscellaneous code cleanup and
improvements to RIIC driver used by Renesas RZ SoCs.

Note, all the patches have been cherry-picked from v6.15-rc3.

Cheers,
Prabhakar

Lad Prabhakar (8):
i2c: riic: Introduce a separate variable for IRQ
i2c: riic: Use dev_err_probe in probe and riic_init_hw functions
i2c: riic: Use local `dev` pointer in `dev_err_probe()`
i2c: riic: Use BIT macro consistently
i2c: riic: Use GENMASK() macro for bitmask definitions
i2c: riic: Mark riic_irqs array as const
i2c: riic: Use predefined macro and simplify clock tick calculation
i2c: riic: Add `riic_bus_barrier()` to check bus availability

drivers/i2c/busses/i2c-riic.c | 117 ++++++++++++++++++++--------------
1 file changed, 70 insertions(+), 47 deletions(-)

--
2.43.0