lkml.org 
[lkml]   [2010]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 3/3] spi: mpc512x_psc_spi: move probe-routine to __init
    On Thu, Dec 16, 2010 at 10:13 AM, Wolfram Sang <w.sang@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@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.


    \
     
     \ /
      Last update: 2010-12-16 18:29    [W:0.019 / U:3.004 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site