thermal/drivers/core: Remove module unload code
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 2 Apr 2019 16:12:45 +0000 (18:12 +0200)
committerZhang Rui <rui.zhang@intel.com>
Mon, 6 May 2019 12:35:24 +0000 (20:35 +0800)
commit77e1dd46a1ad098f2bdb1fc953fea0d59e5d7fb6
tree5985512785b7627b4ce3c601e3c64dea85404d9b
parent554b3529fe018e74cb5d0d0f476ee793b58b030a
thermal/drivers/core: Remove module unload code

Now the thermal core is no longer compiled as a module. Remove the
unloading module code and move the unregister function to the __init
section.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c