diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-03-02 05:28:44 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-12 00:48:48 +0400 |
commit | b21bcd1ada026cd90243311e89dd8d999fe0a227 (patch) | |
tree | dc8d6e9fee685738020ceb585144bc1d1df707a8 /drivers/regulator/ad5398.c | |
parent | 48ee1160a44b6f404f5553a6fce8447507982311 (diff) | |
download | linux-b21bcd1ada026cd90243311e89dd8d999fe0a227.tar.xz |
regulator: Add a pointer to aat2870_data in struct aat2870_regulator
The reason we add *pdev in struct aat2870_regulator is to use it
to get a pointer to struct aat2870_data.
Save a pointer to struct aat2870_data instead of pdev in struct
aat2870_regulator, this change makes the intention more clear.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Jin Park <jinyoungp@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/ad5398.c')
0 files changed, 0 insertions, 0 deletions