diff options
| author | Axel Lin <[email protected]> | 2012-07-15 08:57:12 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2012-07-16 19:58:30 +0000 |
| commit | 5bae062830b57e75a00f1a643a6e031ad0f15129 (patch) | |
| tree | 0900c35136e6c48170c7034fd8f95abcebb93540 /fs/btrfs/tree-log.c | |
| parent | regulator: twl: Fix list_voltate for twl6030ldo_ops (diff) | |
| download | kernel-5bae062830b57e75a00f1a643a6e031ad0f15129.tar.gz kernel-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 <[email protected]>
Acked-by: Milo(Woogyom) Kim <[email protected]>
Tested-by: Milo(Woogyom) Kim <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
