Hi Geert, On Tue, 10 Jan 2012 21:57:08 +0100, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > On Tue, Jan 10, 2012 at 21:47, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > > And looking for platform_driver_probe() in recent changesets, I found > a few more: > > drivers/input/touchscreen/atmel-wm97xx.c atmel_wm97xx_probe > drivers/input/touchscreen/mc13783_ts.c mc13783_ts_probe > drivers/input/serio/at32psif.c psif_probe > drivers/input/mouse/amimouse.c amimouse_probe > > Interestingly, in drivers/input/misc/twl4030-pwrbutton.c you did make > platform_driver.probe point to twl4030_pwrbutton_probe(). > But that one is also broken, as twl4030_pwrbutton_probe() is marked __init, > which is no longer correct. > > Still, setting up platform_driver.probe and removing __init from all probe > functions is not the right thing to do, as this make (non-__init) kernel code > size bigger, while none of these devices are hotpluggable and thus cannot > appear after bootup. That's why we have platform_driver_probe() in the > first place. So I think all of this should be reverted for non-hotpluggable > drivers. Thank you for explaining this. I am sorry for the trouble. jj > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html