So far lists are used to track special clients, i.e. auto-detected and userspace-created clients. The same functionality can be achieved much simpler by flagging such clients. v2: - The i2c_driver.clients list is core-internal, however there's an ALSA driver using it. So add patch 1 to address this first. Heiner Kallweit (4): ALSA: ppc: Remove i2c client removal hack i2c: Replace list-based mechanism for handling auto-detected clients i2c: Replace list-based mechanism for handling userspace-created clients i2c: core: Remove obsolete members of i2c_adapter and i2c_client drivers/i2c/i2c-core-base.c | 108 +++++++++++------------------------- include/linux/i2c.h | 10 +--- sound/ppc/keywest.c | 7 +-- 3 files changed, 36 insertions(+), 89 deletions(-) -- 2.46.0