diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-01-09 15:21:10 +0300 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-01-14 15:02:11 +0300 |
commit | d06905d686107c8343ff71aa4f3c881cc0a9a7b9 (patch) | |
tree | 6266b7d1143969890b43a0a018b8b21152e6f13c /scripts/extract-fwblobs | |
parent | bfd74cd1fbc026f04446e67d6915c7e199c2bffd (diff) | |
download | linux-d06905d686107c8343ff71aa4f3c881cc0a9a7b9.tar.xz |
i2c: add core-managed per-client directory in debugfs
More and more I2C client drivers use debugfs entries and currently they
need to manage a subdir for their files on their own. This means
inconsistent naming for these subdirs and they are scattered all over
the debugfs-tree as well. Not to mention the duplicated code.
Let the I2C core provide and maintain a proper directory per client.
Note: It was considered to save the additional pointer in 'struct
i2c_client' and only provide a subdir when requested via a helper
function. When sketching this approach, more and more corner cases
appeared, though, so the current solution with its simple and unabiguous
code was chosen.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions