regulator: Add a pointer to aat2870_data in struct aat2870_regulator
authorAxel Lin <axel.lin@gmail.com>
Fri, 2 Mar 2012 01:28:44 +0000 (09:28 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:48 +0000 (20:48 +0000)
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>

No differences found