Skip to content
Commit 99ca0ea5 authored by Jacek Anaszewski's avatar Jacek Anaszewski
Browse files

leds: lp8860: Use generic support for composing LED names



Switch to using generic LED support for composing LED class
device name.

While at it, avoid iterating through available child of nodes
in favor of obtaining single expected child node using single
call to of_get_next_available_child().

Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Tested-by: default avatarDan Murphy <dmurphy@ti.com>
parent 0ec39e8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment