[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZgBQtJSOsCrnRxSmPdp=eLanzQYo7dAPiyOu=-+KfHmA@mail.gmail.com>
Date: Fri, 13 Apr 2012 14:40:20 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Stephen Warren <swarren@...dotorg.org>
Cc: linux-kernel@...r.kernel.org, Stephen Warren <swarren@...dia.com>
Subject: Re: [PATCH] pinctrl: implement devm_pinctrl_get()/put()
On Wed, Apr 11, 2012 at 6:56 PM, Stephen Warren <swarren@...dotorg.org> wrote:
> From: Stephen Warren <swarren@...dia.com>
>
> 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@...dia.com>
> ---
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists