Re: [PATCH] gpio: em: Make use of devm functions

From: Magnus Damm
Date: Wed Mar 27 2013 - 04:52:31 EST


Hi Linus,

On Wed, Mar 27, 2013 at 5:28 PM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Wed, Mar 13, 2013 at 12:06 PM, Magnus Damm <magnus.damm@xxxxxxxxx> wrote:
>
>> From: Magnus Damm <damm@xxxxxxxxxxxxx>
>>
>> Update the Emma Mobile GPIO driver to make use of devm
>> functions. This simplifies the error handling and makes
>> the code more compact.
>>
>> Signed-off-by: Magnus Damm <damm@xxxxxxxxxxxxx>
>> ---
>>
>> Written on top of:
>> [PATCH] gpio: em: Add Device Tree support
>
> Patch applied, hm git am complains that the patch is broken
> on line 137, then when I use patch -p1 < magnus.patch
> everything works fine. Weird.

Yes, indeed a bit weird. I actually tested the code about an hour ago,
but I used patch then.

Thanks for your help!

/ magnus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/