commit | a05f5d0e6aebd5c562d7f61b0fd3904d3e3994d1 | [log] [tgz] |
---|---|---|
author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | Mon Dec 13 19:03:31 2021 +0000 |
committer | Pavel Machek <pavel@ucw.cz> | Wed Jan 12 19:43:15 2022 +0100 |
tree | 29a70c99c491558904b8962492ade1fa862e6a8e | |
parent | 2702c9be20acf61c5c4cdee273792c3a4c92db12 [diff] |
leds: ktd2692: Drop calling dev_of_node() in ktd2692_parse_dt 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@bp.renesas.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>