lkml.org 
[lkml]   [2011]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 2/8] net/fec: set con_id in clk_get() call to NULL
    Date
    The con_id is actually not needed for clk_get().

    Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
    Acked-by: Shawn Guo <shawn.guo@linaro.org>
    ---
    drivers/net/ethernet/freescale/fec.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/net/ethernet/freescale/fec.c b/drivers/net/ethernet/freescale/fec.c
    index f224e58..65ee506 100644
    --- a/drivers/net/ethernet/freescale/fec.c
    +++ b/drivers/net/ethernet/freescale/fec.c
    @@ -1585,7 +1585,7 @@ fec_probe(struct platform_device *pdev)
    }
    }

    - fep->clk = clk_get(&pdev->dev, "fec_clk");
    + fep->clk = clk_get(&pdev->dev, NULL);
    if (IS_ERR(fep->clk)) {
    ret = PTR_ERR(fep->clk);
    goto failed_clk;
    --
    1.5.6.5
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-12-08 09:03    [W:0.020 / U:90.188 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site