Dear Gu Zheng, On Tue, 21 May 2013 16:00:19 +0800, Gu Zheng wrote: > > Or, maybe make the existing module_platform_driver() macro do this? > > But not all the modules use module_platform_driver() macro to replace the module init/exit. Then maybe it's a good opportunity to convert those ones to use module_platform_driver() ? Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html