Re: [PATCH] pinctrl: core: use devres_release() instead of devres_destroy()

From: Linus Walleij
Date: Fri Mar 01 2013 - 07:30:56 EST


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>

Patch applied with Stephen's ACK!

Thanks,
Linus Walleij
--
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/