]> www.infradead.org Git - users/dwmw2/linux.git/commit
i2c: Replace list-based mechanism for handling userspace-created clients
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 1 Nov 2024 22:11:39 +0000 (23:11 +0100)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 3 Jan 2025 12:22:54 +0000 (13:22 +0100)
commit3cfe39b3a845593a485ab1c716615979004ef9f6
tree6fe18038b976002ff79c3021d416ab826a001703
parent56a50667cbcfaf95eea9128d5676af94e54b51a8
i2c: Replace list-based mechanism for handling userspace-created clients

Similar to the list of auto-detected clients, we can also replace the
list of userspace-created clients with flagging such client devices.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
[wsa: fixed description of the new flag; reordered new code in
'device_store' to have single exit point; fixed whitespace errors;
 folded cleanup patch into this one]
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/i2c-core-base.c
include/linux/i2c.h