Re: [PATCH v21 04/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver

From: Dan Murphy
Date: Wed Apr 29 2020 - 08:56:16 EST


Jacek

On 4/28/20 3:25 PM, Jacek Anaszewski wrote:
Hi Dan,

Thanks for the update. There is one remnant from the
previous stages that you already scheduled for removal AFAIR.

On 4/28/20 6:03 PM, Dan Murphy wrote:
Introduce the LP5036/30/24/18/12/9 RGB LED driver.
The difference in these parts are the number of
LED outputs where the:

LP5036 can control 36 LEDs
LP5030 can control 30 LEDs
LP5024 can control 24 LEDs
LP5018 can control 18 LEDs
LP5012 can control 12 LEDs
LP5009 can control 9 LEDs

The device has the ability to group LED output into control banks
so that multiple LED banks can be controlled with the same mixing and
brightness. Inversely the LEDs can also be controlled independently.

Signed-off-by: Dan Murphy <dmurphy@xxxxxx>
---
[...]
+
+ÂÂÂÂÂÂÂ init_data.fwnode = child;
+ÂÂÂÂÂÂÂ init_data.devicename = priv->client->name;

Namely this line. We don't need devicename for new drivers like this.

Removed

Dan