Re: [PATCH] pinctrl: implement devm_pinctrl_get()/put()

From: Linus Walleij
Date: Fri Apr 13 2012 - 08:40:18 EST


On Wed, Apr 11, 2012 at 6:56 PM, Stephen Warren <swarren@xxxxxxxxxxxxx> wrote:

> From: Stephen Warren <swarren@xxxxxxxxxx>
>
> These functions allow the driver core to automatically clean up any
> allocations made by drivers, thus leading to simplified drivers.
>
> Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>
> ---
> Note: this hasn't been tested beyond a compile-test.

I like the idea. Can you put some blurb in the documentation
as well, so implementers get it right from day 1?

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/