getting rid of subsys_initcall usage? (was: Re: [PATCH RESEND] i2c: designware: use module_platform_driver)

Linus Walleij linus.walleij at linaro.org
Thu Aug 29 13:11:48 EDT 2013


On Thu, Aug 29, 2013 at 12:55 PM, zhangfei gao <zhangfei.gao at gmail.com> wrote:

> Besides, also find platform_driver_probe is used in
> drivers/i2c/busses/i2c-imx.c and drivers/i2c/busses/i2c-stu300.c.

The platform_driver_probe() is basically a footprint
optimization (more code can be discarded after boot)
and I'm happy to patch it if it disturbs anything, it is
*really* not important for this driver.

Do you guys need a low footprint? Else there is no
use to have platform_driver_probe() in there.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list