LED updates for 5.18-rc1. Nothing major here, there are two drivers
that need review and did not make it.
leds: pca955x: Allow zero LEDs to be specified
It's valid to use the PCA955x devices just for GPIOs and not for LEDs.
In this case, as PCA955X_TYPE_GPIO is now equivalent to
PCA955X_TYPE_NONE, remove the test for whether we have any child nodes
specified in the devicetree.
A consequence of this is it's now possible to bind the driver to a
PCA955x device when dynamically instantiated through the I2C subsystem's
Signed-off-by: Andrew Jeffery <firstname.lastname@example.org>
Reviewed-by: Andy Shevchenko <email@example.com>
Reviewed-by: Linus Walleij <firstname.lastname@example.org>
Reviewed-by: Joel Stanley <email@example.com>
Reviewed-by: Cédric Le Goater <firstname.lastname@example.org>
Signed-off-by: Pavel Machek <email@example.com>
1 file changed