diff options
author | Peter Ujfalusi <[email protected]> | 2014-01-03 15:27:46 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2014-01-08 11:36:59 +0000 |
commit | 8daf3540659c22b4d3530512a3695728482ec23f (patch) | |
tree | b2319d6ccc4098ee2891ce1bfff6b1b9c6dbf811 /tools/perf/util/trace-event-scripting.c | |
parent | c7f9129d22940720141d1f1e958a51142eff9d21 (diff) |
mfd: twl-core: Simplify IO wrapper functions by moving common code out
The new twl_get_regmap() function will return a pointer to the regmap needed
for the given module.
Since both read and write function were using the same code to do the lookup
we can reuse this in both places to simplify the code.
Signed-off-by: Peter Ujfalusi <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions