[PATCH 0/2] Remove bq24022 driver superseeded by gpio-regulator

Haojian Zhuang haojian.zhuang at gmail.com
Tue Mar 6 01:04:46 EST 2012


On Fri, Mar 2, 2012 at 8:55 PM, Heiko Stübner <heiko at sntech.de> wrote:
> The bq24022 regulator is simply a more specialised variant of the now
> present gpio-regulator. Therefore it probably shouldn't stay around.
>
> This series converts the two users of bq24022 pxa/hx4700 and
> pxa/magician to use the gpio-regulator instead, and after this removes
> the then unused bq24022 driver.
>
> The series was compile-tested only, but the gpio-regulator itself is
> sucessfully used on my platform for the dcdc3 of a tps650240 (voltage
> regulator with one gpio) and for a bq24075 (current regulator with two
> gpios). So I'm quite sure it should work correctly but would welcome
> testers :-) .
>
> Heiko Stuebner (2):
>  pxa: magician/hx4700: Convert to gpio-regulator from bq24022
>  regulator: Remove bq24022 regulator driver
>
>  arch/arm/configs/magician_defconfig |    2 +-
>  arch/arm/mach-pxa/hx4700.c          |   33 ++++++--
>  arch/arm/mach-pxa/magician.c        |   33 ++++++--
>  drivers/regulator/Kconfig           |    8 --
>  drivers/regulator/Makefile          |    1 -
>  drivers/regulator/bq24022.c         |  162 -----------------------------------
>  include/linux/regulator/bq24022.h   |   24 -----
>  7 files changed, 55 insertions(+), 208 deletions(-)
>  delete mode 100644 drivers/regulator/bq24022.c
>  delete mode 100644 include/linux/regulator/bq24022.h
>
> --
Hi Mark,

I'm planning to merge this patch into arch-pxa tree since some changes
on hx4700.c and magician.c. Is it ok fot you?

Best Regards
Haojian



More information about the linux-arm-kernel mailing list