diff options
| author | Wolfram Sang <[email protected]> | 2025-01-09 12:21:10 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2025-01-14 12:02:11 +0000 |
| commit | d06905d686107c8343ff71aa4f3c881cc0a9a7b9 (patch) | |
| tree | 6266b7d1143969890b43a0a018b8b21152e6f13c /net/unix/unix_bpf.c | |
| parent | i2c: Force ELAN06FA touchpad I2C bus freq to 100KHz (diff) | |
| download | kernel-d06905d686107c8343ff71aa4f3c881cc0a9a7b9.tar.gz kernel-d06905d686107c8343ff71aa4f3c881cc0a9a7b9.zip | |
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 <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
