Messages in this thread | | | Date | Fri, 13 Apr 2012 14:40:20 +0200 | Subject | Re: [PATCH] pinctrl: implement devm_pinctrl_get()/put() | From | Linus Walleij <> |
| |
On Wed, Apr 11, 2012 at 6:56 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.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@nvidia.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
| |