lkml.org 
[lkml]   [2012]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/2] pwm: pwm-mxs: Provide information that driver is registered
    Date
    It is useful to have a message indicating that the pwm driver has
    been successfully registered.

    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    ---
    drivers/pwm/pwm-mxs.c | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
    index e585264..2873a21 100644
    --- a/drivers/pwm/pwm-mxs.c
    +++ b/drivers/pwm/pwm-mxs.c
    @@ -171,6 +171,8 @@ static int mxs_pwm_probe(struct platform_device *pdev)

    stmp_reset_block(mxs->base);

    + dev_info(&pdev->dev, "driver registered\n");
    +
    return 0;
    }

    --
    1.7.1



    \
     
     \ /
      Last update: 2012-08-06 20:03    [W:0.023 / U:60.884 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site