lkml.org 
[lkml]   [2019]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v16 04/19] leds: multicolor: Introduce a multicolor class definition
From
Date
Martin

On 11/14/19 5:24 AM, Martin Fuzzey wrote:
> Hi Dan,
>
> On 04/11/2019 13:36, Dan Murphy wrote:
>> +int devm_led_classdev_multicolor_register_ext(struct device *parent,
>> +                         struct led_classdev_mc *mcled_cdev,
>> +                          struct led_init_data *init_data)
>> +{
>> +    struct led_classdev_mc **dr;
>> +    int ret;
>> +
>> +    dr = devres_alloc(devm_led_classdev_multicolor_release,
>> +              sizeof(*dr), GFP_KERNEL);
>> +    if (!dr)
>> +        return -ENOMEM;
>> +
>> +    ret = led_classdev_multicolor_register(parent, mcled_cdev);
>
>
> This drops init_data, should be led_classdev_multicolor_register_ex
>
Thanks for the issue I will fix and send v17

Dan


\
 
 \ /
  Last update: 2019-11-14 13:58    [W:0.043 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site