dtpm/soc/rk3399: Add the ability to unload the module
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 30 Jan 2022 21:02:09 +0000 (22:02 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 23 Feb 2022 18:46:29 +0000 (19:46 +0100)
commitf1ebef9e55f3c49063b575e97d2019832b8f8ef9
tree0ded8b3cf81b73632afecdf1e94516069ea78c55
parentbfded2ca8f36935ff13b3b30f8e66d6135e178ac
dtpm/soc/rk3399: Add the ability to unload the module

The dtpm hierarchy can now be removed with the
dtpm_destroy_hierarchy() function. Add the module_exit() callback so
the module can be unloaded by removing the previously created
hierarchy.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20220130210210.549877-7-daniel.lezcano@linaro.org
drivers/soc/rockchip/dtpm.c