diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-31 03:56:08 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-01-31 03:56:08 -0800 |
commit | 319fe159889a06b47a2621a1201c813502b7a842 (patch) | |
tree | f704f481f2e8c3787664553fd24332c8311273a4 /tools/perf/scripts/python/stackcollapse.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 <dan.carpenter@oracle.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions