diff options
| author | Guenter Roeck <[email protected]> | 2017-01-31 03:56:08 -0800 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2017-01-31 03:56:08 -0800 |
| commit | 319fe159889a06b47a2621a1201c813502b7a842 (patch) | |
| tree | f704f481f2e8c3787664553fd24332c8311273a4 /tools/perf/scripts/python/futex-contention.py | |
| parent | 74d3b6419772e49563877b9a3c502b763d24b075 (diff) | |
hwmon: Register thermal zone only if 'dev' parameter was provided
Rgistering a thermal zone uses devm_kzalloc(), which requires
a pointer to the parent device.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions