Re: [PATCH] power_supply: Add MODULE_DEVICE_TABLE for lp8727 charger

From: Axel Lin
Date: Mon Jan 16 2012 - 00:47:05 EST


2012/1/16 Kim, Milo <Milo.Kim@xxxxxx>:
>> Add MODULE_DEVICE_TABLE to setup modalias for lp8727.
>
> Autoloading this module is not required.
Well, Then I'll send a patch to just add terminating entry for
i2c_device_id table.

> The LP8727 includes a charger function with the micro/mini USB interface.
> Charging a battery and detecting which cable is inserted, this kind of job must be started at the beginning of system boot.
> So the lp8727 driver should be loaded before an user-space accesses this driver.
If this driver can be built as a module, people may load/unload the
module anytime ( and I think this is nothing to do with autoloading).

Regards,
Axel
--
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/