]> asedeno.scripts.mit.edu Git - linux.git/commit
soc: renesas: rcar-sysc: Remove rcar_sysc_power_{down,up}() helpers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 5 Dec 2018 15:39:43 +0000 (16:39 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 6 Dec 2018 20:10:09 +0000 (12:10 -0800)
commit319c84090696517f377a80225534677adf192e92
tree7699559b4f701a5d7e1112c61bccaad4647d747f
parentb0d7fbf8b174168c580bb310964c3c809e5569a9
soc: renesas: rcar-sysc: Remove rcar_sysc_power_{down,up}() helpers

Until commit 7e8a50df26f4e700 ("soc: renesas: rcar-sysc: Drop legacy
handling"), the rcar_sysc_power_{down,up}() helpers were public, as they
were called by the legacy (pre-DT) CPU power management code on R-Car H1
and R-Car Gen2 before.

As they are just one-line wrappers around rcar_sysc_power(), it makes
sense to just remove them.

This also avoids a bool/helper/bool conversion in rcar_sysc_power_cpu(),
where a bool is checked to call one of two helper functions, which
just call rcar_sysc_power() with hardcoded boolean values again.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/rcar-sysc.c