summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/smp-r8a7779.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-06-04 20:22:32 +0200
committerSimon Horman <horms+renesas@verge.net.au>2015-07-06 09:35:22 +0900
commitbcb8243792eaa855a51c96bfeaa5dbca19f48d07 (patch)
treee875695f45487832563886155cf315303f62e6ac /arch/arm/mach-shmobile/smp-r8a7779.c
parent21437c53f3dc2e1e52ccb8aed0a65dd3879ca671 (diff)
ARM: shmobile: R-Car: Get rid of on_off_fn() function pointer
Simplify the power request code by passing an "on" flag, and picking the right status bit and register offset in the innermost function, based on this flag. This allows to remove the rcar_sysc_pwr_{off,on}() helper functions, and the function pointer through which they were called. Make sr_bit and reg_offs unsigned while we're at it. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/smp-r8a7779.c')
0 files changed, 0 insertions, 0 deletions