[PATCH 3/3] spi: mpc512x_psc_spi: move probe-routine to __init

Grant Likely grant.likely at secretlab.ca
Fri Dec 17 04:27:22 EST 2010


On Thu, Dec 16, 2010 at 10:13 AM, Wolfram Sang <w.sang at pengutronix.de> wrote:
> Since of_probe_platform_driver(), this SoC-device can be moved from
> __devinit to __init because it is not hotpluggable.
>
> Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>

I really wouldn't bother.  You're counting pennies when the kernel
uses upwards of 4 megabytes for .text alone, and I don't like fiddling
with the driver model the way platform_bus_probe() does.

g.


More information about the devicetree-discuss mailing list