]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit244695c791391aa7548c13790a6e6ff35e18c2d2
tree0807d9ef298a4022bd76a072806ca008598d3497
parent291efafc99464c8d3fc140d7d2a620c2b4bd7876
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