regulator: arizona-micsupp: Move pdata into a separate structure
In preparation for sharing this driver with Madera, move the pdata for the micsupp regulator out of struct arizona_pdata into a dedicated pdata struct for this driver. As a result the code in arizona_micsupp_of_get_pdata() can be made independent of struct arizona. This patch also updates the definition of struct arizona_pdata and the use of this pdata in mach-crag6410-module.c Signed-off-by:Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Acked-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Mark Brown <broonie@kernel.org>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- drivers/regulator/arizona-micsupp.c 11 additions, 10 deletionsdrivers/regulator/arizona-micsupp.c
- include/linux/mfd/arizona/pdata.h 2 additions, 1 deletioninclude/linux/mfd/arizona/pdata.h
- include/linux/regulator/arizona-micsupp.h 21 additions, 0 deletionsinclude/linux/regulator/arizona-micsupp.h
Loading
Please register or sign in to comment