Re: [PATCH v27 03/15] leds: multicolor: Introduce a multicolor class definition

2020-06-16 Thread Pavel Machek
Hi! > +static ssize_t multi_intensity_show(struct device *dev, > + struct device_attribute *intensity_attr, > + char *buf) > +{ > + struct led_classdev *led_cdev = dev_get_drvdata(dev); > + struct led_classdev_mc *mcled_cdev = lcdev_to_mc

[RESEND PATCH v27 03/15] leds: multicolor: Introduce a multicolor class definition

2020-06-15 Thread Dan Murphy
Introduce a multicolor class that groups colored LEDs within a LED node. The multi color class groups monochrome LEDs and allows controlling two aspects of the final combined color: hue and lightness. The former is controlled via the intensity file and the latter is controlled via brightness file.

[PATCH v27 03/15] leds: multicolor: Introduce a multicolor class definition

2020-06-08 Thread Dan Murphy
Introduce a multicolor class that groups colored LEDs within a LED node. The multi color class groups monochrome LEDs and allows controlling two aspects of the final combined color: hue and lightness. The former is controlled via the intensity file and the latter is controlled via brightness file.