Skip to content
Commit fd3a5d5b authored by Tony Lindgren's avatar Tony Lindgren
Browse files

gpio: twl4030: Fix passing of pdata in the device tree case



We still have some legacy code needing the callback functions
that won't work properly without platform data. To use platform
data for twl4030-gpio, we need to not trash the possible data.

Cc: linux-gpio@vger.kernel.org
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
[tony@atomide.com: folded in fix from Fengguang to use struct assignment]
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 0b2aa8be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment