[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a7f18f3b-c1fb-3810-8d9b-30ecdada96ff@flowbird.group>
Date: Thu, 14 Nov 2019 12:24:49 +0100
From: Martin Fuzzey <martin.fuzzey@...wbird.group>
To: Dan Murphy <dmurphy@...com>, jacek.anaszewski@...il.com,
pavel@....cz
Cc: linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v16 04/19] leds: multicolor: Introduce a multicolor class
definition
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
Regards,
Martin
Powered by blists - more mailing lists