mfd: twl-core: Fix passing of platform data in the device tree case
authorTony Lindgren <tony@atomide.com>
Sat, 16 Nov 2013 00:36:03 +0000 (16:36 -0800)
committerLee Jones <lee.jones@linaro.org>
Thu, 21 Nov 2013 10:42:36 +0000 (10:42 +0000)
commitf984370913d3ba5d13806cc8ac6fc26f8ebd1694
tree10aaa671dc25805d0e3c5fc4bb67a5e3ed32e7f1
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52
mfd: twl-core: Fix passing of platform data in the device tree case

Since we still need to rely on a mix of device tree initialized
drivers and legacy platform data initialize drivers, let's fix
the passing of platform data to twl4030-gpio.

As the twl4030 GPIO is initialized by twl-core.c, we need to register
the auxdata for twl4030 GPIO in twl-core.c.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl-core.c