diff options
author | 2012-07-15 16:57:12 +0800 | |
---|---|---|
committer | 2012-07-16 20:58:30 +0100 | |
commit | 5bae062830b57e75a00f1a643a6e031ad0f15129 (patch) | |
tree | 0900c35136e6c48170c7034fd8f95abcebb93540 /tools/perf/util/trace-event-scripting.c | |
parent | regulator: twl: Fix list_voltate for twl6030ldo_ops (diff) | |
download | wireguard-linux-5bae062830b57e75a00f1a643a6e031ad0f15129.tar.xz wireguard-linux-5bae062830b57e75a00f1a643a6e031ad0f15129.zip |
regulator: lp872x: Simplify implementation of lp872x_find_regulator_init_data()
Pass regulator id rahter than the index to lp872x_find_regulator_init_data(),
then the code can be simpler.
We can also get max_regulators by lp->num_regulators.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Tested-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions