[PATCH v1 0/7] i2c: designware: Cleanups (part 1)

From: Andy Shevchenko
Date: Fri Aug 16 2024 - 13:13:01 EST


This is the subset of the patches [1] that should not affect any
functionality. Here is the unification of ID tables, a couple of
function prototypes, and other small cleanups.

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@xxxxxxxxxxxxxxx/ [1]

Andy Shevchenko (7):
i2c: designware: Replace a while-loop by for-loop
i2c: designware: Let PCI core to take care about interrupt vectors
i2c: designware: Add missing 'c' into PCI IDs variable name
i2c: designware: Unify terminator in device ID tables
i2c: designware: Always provide device ID tables
i2c: designware: Drop return value from i2c_dw_acpi_configure()
i2c: designware: Drop return value from dw_i2c_of_configure()

drivers/i2c/busses/i2c-designware-common.c | 4 +-
drivers/i2c/busses/i2c-designware-core.h | 4 +-
drivers/i2c/busses/i2c-designware-pcidrv.c | 22 +++------
drivers/i2c/busses/i2c-designware-platdrv.c | 50 +++++++++++++--------
4 files changed, 42 insertions(+), 38 deletions(-)

--
2.43.0.rc1.1336.g36b5255a03ac