]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita36dbcc585b557219a2c2c237707c9a75cab2954
tree5f58a36bcfefb07cc9a44faf38c91b8bc7e3c1c1
parent3b62340a5c417c9a4bef59115e36540144a9273d
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