usb: core: read USB ports from DT in the usbport LED trigger driver
authorRafał Miłecki <rafal@milecki.pl>
Thu, 8 Jun 2017 16:08:32 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jun 2017 15:56:59 +0000 (17:56 +0200)
commit4f04c210d031667e503d6538a72345a36f3b5d71
tree1df51d17d193508c20193e22a79cd5e3b39e1811
parent80dc6e1cd85fc09dde37b262f1beb9f953e215e2
usb: core: read USB ports from DT in the usbport LED trigger driver

This uses DT info to read relation description of LEDs and USB ports. If
DT has properly described LEDs, trigger will know when to turn them on.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/ledtrig-usbport.c