mfd: arizona: Add stub for wm5102_patch()
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Wed, 13 May 2015 15:52:25 +0000 (16:52 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 22 Jun 2015 11:25:18 +0000 (12:25 +0100)
commit7e2d67e94ab05f70d2a73d00283f46778386ca52
tree9a01cc27b86185b8be2b29624f6b4e7b614d9ad2
parentec40c606c7aebb8d61cb47af27e2f62c26e09e29
mfd: arizona: Add stub for wm5102_patch()

For the WM5102 there is a dependency in the core code on wm5102_patch()
which only exists when CONFIG_MFD_WM5102 is defined. To avoid having
to sprinkle #ifdefs around the code it is given an alternative empty
stub version when CONFIG_MFD_WM5102 is deselected

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/arizona/core.h