OSDN Git Service

powercap/dtpm_cpu: Add exit function
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 30 Jan 2022 21:02:08 +0000 (22:02 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 23 Feb 2022 18:46:25 +0000 (19:46 +0100)
commitbfded2ca8f36935ff13b3b30f8e66d6135e178ac
tree0560f15c68b4d07e5611d1ede99acc4a68067f5f
parent4712a236db409d5ee5dccb8c7e57fe54d7d3ec66
powercap/dtpm_cpu: Add exit function

Now that we can destroy the hierarchy, the code must remove what it
had put in place at the creation. In our case, the cpu hotplug
callbacks.

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-6-daniel.lezcano@linaro.org
drivers/powercap/dtpm_cpu.c