[PATCH 6/8] gpio: twl4030: Fix passing of pdata in the device tree case

Linus Walleij linus.walleij at linaro.org
Mon Nov 18 17:46:55 EST 2013


On Mon, Nov 18, 2013 at 7:27 PM, Tony Lindgren <tony at atomide.com> wrote:
> * Tony Lindgren <tony at atomide.com> [131113 18:37]:
>> 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: Linus Walleij <linus.walleij at linaro.org>
>> Cc: linux-gpio at vger.kernel.org
>> Signed-off-by: Tony Lindgren <tony at atomide.com>
>> ---
>>
>> If this looks OK, I'd like to merge this as a fix via arm-soc tree
>> along with the other patches in this series as my later patches
>> depend on patches in this series.
>
> Here's this one with a fix from Fengguang Wu to use struct assignment
> instead of memcpy folded in.

Looks allright:
Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list