aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2015-06-04 20:22:32 +0200
committerSimon Horman <[email protected]>2015-07-06 09:35:22 +0900
commitbcb8243792eaa855a51c96bfeaa5dbca19f48d07 (patch)
treee875695f45487832563886155cf315303f62e6ac /tools/perf/scripts/python
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 <[email protected]> Signed-off-by: Simon Horman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions