lkml.org 
[lkml]   [2016]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 1/5] mmc: davinci: remove matching string
    Date
    The string "MMCSDCLK" is not actually used for clock lookup, so can be removed.

    Signed-off-by: David Lechner <david@lechnology.com>
    ---

    v2 changes: none


    drivers/mmc/host/davinci_mmc.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
    index 693144e..a294d261 100644
    --- a/drivers/mmc/host/davinci_mmc.c
    +++ b/drivers/mmc/host/davinci_mmc.c
    @@ -1271,7 +1271,7 @@ static int __init davinci_mmcsd_probe(struct platform_device *pdev)
    goto out;

    ret = -ENXIO;
    - host->clk = clk_get(&pdev->dev, "MMCSDCLK");
    + host->clk = clk_get(&pdev->dev, NULL);
    if (IS_ERR(host->clk)) {
    ret = PTR_ERR(host->clk);
    goto out;
    --
    1.9.1
    \
     
     \ /
      Last update: 2016-03-15 00:41    [W:3.319 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site