[PATCH v1 0/5] i2c: designware: Cleanups (part 2)

Andy Shevchenko
2024-08-22T18:04:24Z

This is the subset of the patches [1] that should not affect any
functionality. Here are:
- consolidation of FW parsing and configuring code
- some function renaming / dropping
- switching to export namespace

In any case this is Cc'ed to AMD who reported a problem in [1]
presumably in the patch that is *not* included here.

Link: https://lore.kernel.org/linux-i2c/20231207141653.2785124-1-andriy.shevchenko@linux.intel.com/ [1]

Andy Shevchenko (5):
i2c: designware: Rename dw_i2c_of_configure() -> i2c_dw_of_configure()
i2c: designware: Consolidate firmware parsing and configuring code
i2c: designware: Unify the firmware type checks
i2c: designware: Move exports to I2C_DW namespaces
i2c: designware: Remove ->disable() callback

drivers/i2c/busses/i2c-designware-common.c | 73 +++++++++++++++++++--
drivers/i2c/busses/i2c-designware-core.h | 13 +---
drivers/i2c/busses/i2c-designware-master.c | 4 +-
drivers/i2c/busses/i2c-designware-pcidrv.c | 18 ++---
drivers/i2c/busses/i2c-designware-platdrv.c | 53 ++-------------
drivers/i2c/busses/i2c-designware-slave.c | 6 +-
6 files changed, 88 insertions(+), 79 deletions(-)

--
2.43.0.rc1.1336.g36b5255a03ac