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

From: Linus Walleij
Date: Thu Feb 28 2013 - 19:54:26 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>

Hm, Stephen, you OK with this?

Yours,
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/