]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/leds/led-class.c
leds: Switch to use fwnode instead of be stuck with OF one
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 22 Aug 2019 15:19:28 +0000 (18:19 +0300)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Fri, 23 Aug 2019 21:39:37 +0000 (23:39 +0200)
commitfd81d7e946c6bdb86dbf0bd88fee3e1a545e7979
tree30752736cb9e22ff27c5cb6c2f838c9b45dcb1df
parentae6c4c70dfd184f69a24342c09678fb161a7cb4c
leds: Switch to use fwnode instead of be stuck with OF one

There is no need to be stuck with OF node when we may use agnostic
firmware node instead.

It allows users to get property if needed independently of provider.

Note, some OF parts are left because %pfw [1] is in progress.

[1]: https://lore.kernel.org/patchwork/cover/1054863/

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/led-class.c
drivers/leds/led-core.c