summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2021-05-17 22:21:15 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2021-05-28 09:52:06 +0200
commite93e6bef7930cc23b878b6768f617c479f1a5c50 (patch)
tree558b5808565916c135d0a76cc94aee860ace7b32 /usr
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions