diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2022-09-06 20:54:05 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-09-19 06:17:06 -0700 |
commit | 856361b397439157f7f60fd21efb522bb11f537a (patch) | |
tree | 40bbcd19f431c54cc15270c46ffe31f66cf5f907 /Documentation/hwmon | |
parent | 0fed840c7562d9dcc5bf8a91744b079e952683d1 (diff) |
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 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions