diff options
author | Bernard Zhao <[email protected]> | 2020-11-01 18:31:21 -0800 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-11-12 11:24:01 +0100 |
commit | 030a48b0f6ce393d78b8d33debb1e2043b8cc156 (patch) | |
tree | ed33ab3486f1625b282093aa38a4d6aa903b3818 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e01aac535353e013f9a5c9675232458906b895da (diff) |
thermal/drivers/hwmon: Cleanup coding style a bit
Function thermal_add_hwmon_sysfs, hwmon will be NULL when
new_hwmon_device = 0, so there is no need to check, kfree will
handle NULL point.
Signed-off-by: Bernard Zhao <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions