mfd: Add initialisation callback for WM8350
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 10 Oct 2008 14:58:13 +0000 (15:58 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 13 Oct 2008 20:51:56 +0000 (21:51 +0100)
commitbcdd4efc1b6b8b98f30e127115f4bc7bbcd6f7ce
tree5f58a36bcfefb07cc9a44faf38c91b8bc7e3c1c1
parent0e7203933224cbe09b5a9125f55b177b8dd5b1bd
mfd: Add initialisation callback for WM8350

Some functions of the WM8350 require board-specific initialisation on
startup. Provide a callback to the WM8350 driver in platform data
for platforms to use to configure the chip.  Use of a callback allows
platforms to control the ordering of initialisation which can be
important.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@openedhand.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/mfd/wm8350-core.c
drivers/mfd/wm8350-i2c.c
include/linux/mfd/wm8350/core.h