]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: create debugfs entry per adapter
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 12 Nov 2023 22:54:41 +0000 (17:54 -0500)
committerWolfram Sang <wsa@kernel.org>
Thu, 18 Jan 2024 20:10:41 +0000 (21:10 +0100)
commit73febd775bdbdb98c81255ff85773ac410ded5c4
tree284e43748c25f05ae65d63c4d454ab91dd2a1c7e
parentf79ad78a25841fdde6cd589969966fb113cf1d10
i2c: create debugfs entry per adapter

Two drivers already implement custom debugfs handling for their
i2c_adapter and more will come. So, let the core create a debugfs
directory per adapter and pass that to drivers for their debugfs files.

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