soc: renesas: rcar-sysc: Drop legacy handling
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 30 May 2018 15:25:16 +0000 (17:25 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Jun 2018 10:00:29 +0000 (12:00 +0200)
commit7e8a50df26f4e7003d09f7e8d1e57fbbb7ebb750
tree9106e7defcdd295d13ab5b243af7227263c527ee
parent16acd53b1547d3dbe3eabef5e3356674eb957ae4
soc: renesas: rcar-sysc: Drop legacy handling

Now the R-Car platform code no longer supports DTBs lacking a SYSC
device node in DT, all legacy handling can be dropped from the R-Car
SYSC driver:
  - Make rcar_sysc_ch private to the driver,
  - Make rcar_sysc_power_{down,up}() static (they have been replaced by
    rcar_sysc_power_{down,up}_cpu()),
  - Remove the legacy wrapper rcar_sysc_init(), and the check for double
    initialization (only the early_initcall is left).

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
include/linux/soc/renesas/rcar-sysc.h