aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYurii Pavlovskyi <[email protected]>2019-05-14 20:50:30 +0200
committerAndy Shevchenko <[email protected]>2019-06-17 15:22:47 +0300
commitcd10ee006ab504b2b9c5ed992cc06d3e110c6311 (patch)
treeffb775ec9399b1a2db36c880b974a3c0d2b4f3f1 /tools/perf/scripts/python/exported-sql-viewer.py
parent2a5753559ed30461f0aade19290009973a15ce5a (diff)
platform/x86: asus-wmi: Fix hwmon device cleanup
The driver does not clean up the hwmon device on exit or error. To reproduce the bug, repeat rmmod, insmod to verify that device number /sys/devices/platform/asus-nb-wmi/hwmon/hwmon?? grows every time. Replace call for registering device with devm_* version that unregisters it automatically. Signed-off-by: Yurii Pavlovskyi <[email protected]> Reviewed-by: Daniel Drake <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions