From: Tony Lindgren Date: Mon, 18 Nov 2013 23:22:50 +0000 (-0800) Subject: gpio: twl4030: Fix passing of pdata in the device tree case X-Git-Tag: omap-for-v3.13/more-fixes-for-merge-window-take2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd3a5d5b8386c9a29116e048b5e4ee86545ba012;p=pandora-kernel.git 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: Linus Walleij Signed-off-by: Fengguang Wu [tony@atomide.com: folded in fix from Fengguang to use struct assignment] Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed