Re: [PATCH] pinctrl: core: use devres_release() instead of devres_destroy()
From: Stephen Warren
Date: Thu Feb 28 2013 - 20:11:36 EST
On 02/28/2013 05:54 PM, Linus Walleij wrote:
> On Tue, Feb 26, 2013 at 3:34 AM, Jingoo Han <jg1.han@xxxxxxxxxxx> wrote:
>> devres_release() can simplify the code, because devres_release()
>> will call the destructor for the resource as well as freeing
>> the devres data.
>> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> Hm, Stephen, you OK with this?
Acked-by: Stephen Warren <swarren@xxxxxxxxxx>
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/