mfd: convert PASIC3 to use MFD core
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 17 Feb 2009 09:06:45 +0000 (10:06 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Sat, 4 Apr 2009 22:32:21 +0000 (00:32 +0200)
commit0254a8f496f9c939d4068613ace4ffd0d9e6ece2
tree0807d9ef298a4022bd76a072806ca008598d3497
parenta23a175795cdb202619ac176129b2f0c2a5c9456
mfd: convert PASIC3 to use MFD core

This patch makes htc-pasic3 register the DS1WM and LED cell drivers
through the MFD core infrastructure instead of allocating the platform
devices manually. It also calculates the bus_shift parameter from the
memory resource size.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/Kconfig
drivers/mfd/htc-pasic3.c