commit | 7c4815929276b2e223eb6f2e49afe5071d4294a5 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.ibm.com> | Fri Jul 16 17:03:30 2021 -0500 |
committer | Pavel Machek <pavel@ucw.cz> | Fri Aug 20 11:00:08 2021 +0200 |
tree | 2965960a8a6c4d373d6779e7c0ea004a2fe5d1aa | |
parent | e46cb6d0c760a5b15e38138845fad99628fafcb8 [diff] |
leds: pca955x: Let the core process the fwnode Much of the fwnode processing in the PCA955x driver is now in the LEDs core driver, so pass the fwnode in the init data when registering the LED device. In order to preserve the existing naming scheme, check for an empty name and set it to the LED number. Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>