Re: [PATCH linux-next] drivers/macintosh: Add missing of_node_putin therm_adt746x.c

From: Stephen Rothwell
Date: Tue Dec 02 2008 - 18:08:40 EST


On Tue, 2 Dec 2008 14:36:44 +0100 Nicolas Palix <npalix@xxxxxxx> wrote:
>
> of_node_put is needed before discarding a value received from
> of_find_node_by_name, eg in error handling code or when the device
> node is no longer used.
>
> Signed-off-by: Nicolas Palix <npalix@xxxxxxx>
> Signed-off-by: Julia Lawall <julia@xxxxxxx>

Acked-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature