sunxi: power: Use pmic_bus functions for axp152 / axp209 driver
authorHans de Goede <hdegoede@redhat.com>
Sat, 3 Oct 2015 14:12:27 +0000 (16:12 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 20 Oct 2015 16:40:27 +0000 (18:40 +0200)
commit30490b528bafb0298f2fb76a3ed15194e220ba1f
tree2e2175e6309c2701766d3fd4c3266920fcd99a10
parent514b2d9dbbd4408ba46c221990087229cdf9ca0b
sunxi: power: Use pmic_bus functions for axp152 / axp209 driver

Use the generic pmic_bus helpers for the axp152 / axp209 drivers,
rather then having them define their own register read / write
functions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/power/axp152.c
drivers/power/axp209.c