Re: [PATCH v2 01/12] leds: core: Use EXPORT_SYMBOL_GPL consistently

From: Jacek Anaszewski
Date: Fri Oct 09 2015 - 04:20:09 EST


On 10/08/2015 05:51 PM, Pavel Machek wrote:
On Mon 2015-09-28 17:13:39, Jacek Anaszewski wrote:
This patch isn't going to be applied since it can cause
legal implications for existing users.


Are there any? Best do this ASAP :-).

Current non-GPL users of led_set_brightness would be affected if we
changed this. I am not however certain if there are any, having in mind
that led_classdev_register is exported with EXPORT_SYMBOL_GPL.
Theoretically it is possible to use led_set_brightness without
registering LED class device, but it would be partially broken then
due to not initialized set_brightness_work.
I think that it would be safe to apply this patch.
I need acks, though :)

--
Best Regards,
Jacek Anaszewski
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/