Re: [PATCH] leds: ktd2692: Drop calling dev_of_node() in ktd2692_parse_dt

From: Pavel Machek
Date: Wed Dec 15 2021 - 15:29:08 EST


On Mon 2021-12-13 19:03:31, Lad Prabhakar wrote:
> output of dev_of_node() is already assigned to "np" variable in
> ktd2692_parse_dt(). Use "np" variable to check if OF node is NULL
> instead of calling dev_of_node() again.
>
> Signed-off-by: Lad Prabhakar
<prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

Thank you, applied.
Pavel

--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: PGP signature