commit | b21bcd1ada026cd90243311e89dd8d999fe0a227 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Fri Mar 02 09:28:44 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Mar 11 20:48:48 2012 +0000 |
tree | dc8d6e9fee685738020ceb585144bc1d1df707a8 | |
parent | 48ee1160a44b6f404f5553a6fce8447507982311 [diff] |
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>