Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: renesas: rcar-sysc: Make rcar_sysc_power_is_off() static

As of commit b12ff41658171f53 ("ARM: shmobile: r8a7779: Remove legacy PM
Domain remainings"), rcar_sysc_power_is_off() is no longer used from
SoC-specific code.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

authored by

Geert Uytterhoeven and committed by
Simon Horman
2f024cef dcc09fd1

+1 -2
+1 -1
drivers/soc/renesas/rcar-sysc.c
··· 152 152 return rcar_sysc_power(sysc_ch, true); 153 153 } 154 154 155 - bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch) 155 + static bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch) 156 156 { 157 157 unsigned int st; 158 158
-1
include/linux/soc/renesas/rcar-sysc.h
··· 11 11 12 12 int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch); 13 13 int rcar_sysc_power_up(const struct rcar_sysc_ch *sysc_ch); 14 - bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch); 15 14 void __iomem *rcar_sysc_init(phys_addr_t base); 16 15 17 16 #endif /* __LINUX_SOC_RENESAS_RCAR_SYSC_H__ */