Re: [PATCH] leds: lp3952: Export I2C module alias information for module autoload

2016-10-14 Thread Jacek Anaszewski
Hi Javier, Thanks for the patch. Applied to the for-4.10 branch of linux-leds.git. Best regards, Jacek Anaszewski On 10/14/2016 02:23 PM, Javier Martinez Canillas wrote: If the driver is built as a module, I2C module alias information is not filled so the module won't be autoloaded if the devi

[PATCH] leds: lp3952: Export I2C module alias information for module autoload

2016-10-14 Thread Javier Martinez Canillas
If the driver is built as a module, I2C module alias information is not filled so the module won't be autoloaded if the device isn't registered over ACPI. Export the I2C device table alias with MODULE_DEVICE_TABLE() macro so the information is exported in the module. Before this patch: $ modinfo