diff options
| author | Guenter Roeck <[email protected]> | 2013-11-23 11:03:17 -0800 |
|---|---|---|
| committer | Matthew Garrett <[email protected]> | 2014-01-21 08:44:03 -0500 |
| commit | 50a639fb158c6aafe86ba7d6104de69518a9d09a (patch) | |
| tree | 6a6899f5c654c8749737410ad75828b19ca8ad12 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | c2be45f09bb0b37ba1f87f39fbb04886f94e3e58 (diff) | |
asus-wmi: Convert to use devm_hwmon_device_register_with_groups
Simplify the code and avoid race conditions due to late sysfs attribute
registration. Also replace SENSOR_DEVICE_ATTR with DEVICE_ATTR;
the additional parameter is not used and thus unnecessary.
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions