mfd: Align ab8500 with the abx500 interface
authorMattias Wallin <mattias.wallin@stericsson.com>
Fri, 10 Sep 2010 15:47:56 +0000 (17:47 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:29:19 +0000 (00:29 +0200)
commit47c1697508f2ec9f6b31ce6c825fe1017871dea6
treee22afa146c3232802abf482caa167e0e2444093b
parentf4ebcab36088d45a5e8889e9b63d77e01c808076
mfd: Align ab8500 with the abx500 interface

This patch makes the ab8500 mixed signal chip expose the same
interface for register access as the ab3100, ab3550 and ab5500 chip.
The ab8500_read() and ab8500_write() is removed and replaced with
abx500_get_register_interruptible() and
abx500_set_register_interruptible().

Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/ab8500-core.c
drivers/regulator/ab8500.c
drivers/rtc/rtc-ab8500.c
include/linux/mfd/ab8500.h
include/linux/mfd/abx500.h