diff options
| author | 2022-09-06 20:54:05 -0500 | |
|---|---|---|
| committer | 2022-09-19 06:17:06 -0700 | |
| commit | 856361b397439157f7f60fd21efb522bb11f537a (patch) | |
| tree | 40bbcd19f431c54cc15270c46ffe31f66cf5f907 /tools/perf/scripts/python | |
| parent | hwmon: (tps23861) reduce count of i2c transactions for port_status (diff) | |
| download | linux-dev-856361b397439157f7f60fd21efb522bb11f537a.tar.xz linux-dev-856361b397439157f7f60fd21efb522bb11f537a.zip | |
hwmon: (tps23861) create unique debugfs directory per device
On systems with more than one tps23861, creating the debugfs directory
for additional devices fails with
debugfs: Directory 'tps23861' with parent '/' already present!
To resolve this, include the hwmon device name in the directory name.
Since the name is unique, this guarantees that the debugfs directory
is unique.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220907015405.16547-2-mr.nuke.me@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
