]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i2c: core: clean up bus id allocation
authorJohan Hovold <johan@kernel.org>
Mon, 11 May 2026 14:37:14 +0000 (16:37 +0200)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 30 May 2026 21:57:19 +0000 (23:57 +0200)
commita378a2bc73e3b71ed2e2bfccaaee81199de0f49f
tree4d2a6b900af90e5d5ad310020fe2b715567c5f33
parentb1a58ed9eab146b36f41a55db8f5d7ce9fdedf3f
i2c: core: clean up bus id allocation

Clean up bus id allocation by using a common helper and deferring it
until it is needed during adapter registration.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/i2c-core-base.c