linux/drivers/soc/amlogic
Martin Blumenstingl e93e6bef79 soc: amlogic: meson-ee-pwrc: Rename "get_power" to "is_powered_off"
The name "get_power" is used within the Meson EE power controller driver
to indicate whether a power domain is turned on or off. With the
original "get_power" naming the result was:
- true = powered off
- false = powered on

Rename "get_power" to "is_powered_off" to make the naming consistent
with the third argument to pm_genpd_init. Also this naming is easier to
understand when reading the code without looking at the implementation
of "get_power".

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20210517202115.1004065-1-martin.blumenstingl@googlemail.com
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2021-05-28 09:52:06 +02:00
..
Kconfig soc: meson: enable building drivers as modules 2020-10-26 11:33:43 -07:00
Makefile soc: amlogic: Add support for Secure power domains controller 2020-02-14 11:37:34 -08:00
meson-canvas.c soc: amlogic: canvas: add missing put_device() call in meson_canvas_get() 2020-11-30 16:22:48 -08:00
meson-clk-measure.c soc: meson: enable building drivers as modules 2020-10-26 11:33:43 -07:00
meson-ee-pwrc.c soc: amlogic: meson-ee-pwrc: Rename "get_power" to "is_powered_off" 2021-05-28 09:52:06 +02:00
meson-gx-pwrc-vpu.c soc: amlogic: replace devm_reset_control_array_get() 2020-11-30 16:23:11 -08:00
meson-gx-socinfo.c soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's 2020-06-29 16:00:53 -07:00
meson-mx-socinfo.c meson-mx-socinfo: Make local function meson_mx_socinfo_init() static 2018-02-12 14:15:47 -08:00
meson-secure-pwrc.c soc: meson: enable building drivers as modules 2020-10-26 11:33:43 -07:00