OSDN Git Service

powercap/drivers/dtpm: Add CPU DT initialization support
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 28 Jan 2022 16:35:35 +0000 (17:35 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 4 Feb 2022 16:38:09 +0000 (17:38 +0100)
commit73dbcb6e37bf0c43bac8c15fe5bcab2bec2367fb
tree8a0ed9644e4da2c8d4d72d06f48228a0addbf1e3
parent3759ec678e8944dc2ea70cab77a300408f78ae27
powercap/drivers/dtpm: Add CPU DT initialization support

Based on the previous DT changes in the core code, use the 'setup'
callback to initialize the CPU DTPM backend.

Code is reorganized to stick to the DTPM table description. No
functional changes.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20220128163537.212248-4-daniel.lezcano@linaro.org
drivers/powercap/dtpm_cpu.c