thermal/core: Fix unregistering netlink at thermal init time
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 23 Jan 2023 15:27:54 +0000 (16:27 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 25 Jan 2023 15:40:39 +0000 (16:40 +0100)
commit58d1c9fd0e859912ae322d24aa0baedc9030b8ed
tree71eab9fa5147edb45b541172243728972a61a270
parent47e3f00074c27661268674d832f743f1940ae17c
thermal/core: Fix unregistering netlink at thermal init time

The thermal subsystem initialization miss an netlink unregistering
function in the error. Add it.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/thermal_core.c
drivers/thermal/thermal_netlink.c
drivers/thermal/thermal_netlink.h