regulator: ab8500: Prepare the driver for additional platforms
authorLee Jones <lee.jones@linaro.org>
Thu, 28 Mar 2013 16:11:10 +0000 (16:11 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 12:23:36 +0000 (13:23 +0100)
commitb54969ac406f0765989619469d74d79496431624
tree3e55521f339af9b4709aa6634f41da04adf34de4
parent742a73259d2d07ad6870736749aa8d6821ed96d9
regulator: ab8500: Prepare the driver for additional platforms

More platforms are to be supported by the AB8500 regulator driver,
so in this patch we prepare for their arrival. Instead of using
the AB8500 settings blindly, we provide an infrastructure where
adding a new platform is as easy as providing a couple of platform
specific data structures.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c