| Subject | Re: [RFC 07/25] leds: Add Titan Micro Electronics TM1628 | From | Andreas Färber <> | Date | Sat, 14 Dec 2019 10:48:04 +0100 |
| |
Am 12.12.19 um 04:39 schrieb Andreas Färber: > diff --git a/drivers/leds/leds-tm1628.c b/drivers/leds/leds-tm1628.c > new file mode 100644 > index 000000000000..319bf34ce835 > --- /dev/null > +++ b/drivers/leds/leds-tm1628.c [...] > +struct tm1628 { > + struct spi_device *spi; > + const struct tm1628_info *info;
> + u32 grids; > + unsigned int segments;
These fields were unused since introducing mode_index, dropping.
> + int mode_index; > + int pwm_index; > + u8 data[14]; > + unsigned int num_leds; > + struct tm1628_led leds[]; > +}; Regards, Andreas
-- SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer HRB 36809 (AG Nürnberg)
|