diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-11-08 23:33:47 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-11-21 18:43:20 -0500 |
commit | 9250741e5feedb6a5273683a940b339af59a1086 (patch) | |
tree | ec05b9148df4fd4e1dccd0f2570750353e1bb6a7 /drivers/video/sh_mipi_dsi.c | |
parent | 41e583c22c3f907e46e329764b4606117040a1ae (diff) |
fbdev: sh_mipi_dsi: tidyup dsip_clk
dsipck clock is controled by CLKDEV_ICK_ID() in clock-shxxx.
dsi0p_clk/dsi1p_clk naming is not needed.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/sh_mipi_dsi.c')
-rw-r--r-- | drivers/video/sh_mipi_dsi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/sh_mipi_dsi.c b/drivers/video/sh_mipi_dsi.c index 72ee96bc6b3e..4aa5053febf1 100644 --- a/drivers/video/sh_mipi_dsi.c +++ b/drivers/video/sh_mipi_dsi.c | |||
@@ -363,7 +363,6 @@ static int __init sh_mipi_probe(struct platform_device *pdev) | |||
363 | struct resource *res2 = platform_get_resource(pdev, IORESOURCE_MEM, 1); | 363 | struct resource *res2 = platform_get_resource(pdev, IORESOURCE_MEM, 1); |
364 | unsigned long rate, f_current; | 364 | unsigned long rate, f_current; |
365 | int idx = pdev->id, ret; | 365 | int idx = pdev->id, ret; |
366 | char dsip_clk[] = "dsi.p_clk"; | ||
367 | 366 | ||
368 | if (!res || !res2 || idx >= ARRAY_SIZE(mipi_dsi) || !pdata) | 367 | if (!res || !res2 || idx >= ARRAY_SIZE(mipi_dsi) || !pdata) |
369 | return -ENODEV; | 368 | return -ENODEV; |
@@ -428,8 +427,7 @@ static int __init sh_mipi_probe(struct platform_device *pdev) | |||
428 | 427 | ||
429 | dev_dbg(&pdev->dev, "DSI-T clk %lu -> %lu\n", f_current, rate); | 428 | dev_dbg(&pdev->dev, "DSI-T clk %lu -> %lu\n", f_current, rate); |
430 | 429 | ||
431 | sprintf(dsip_clk, "dsi%1.1dp_clk", idx); | 430 | mipi->dsip_clk = clk_get(&pdev->dev, "dsip_clk"); |
432 | mipi->dsip_clk = clk_get(&pdev->dev, dsip_clk); | ||
433 | if (IS_ERR(mipi->dsip_clk)) { | 431 | if (IS_ERR(mipi->dsip_clk)) { |
434 | ret = PTR_ERR(mipi->dsip_clk); | 432 | ret = PTR_ERR(mipi->dsip_clk); |
435 | goto eclkpget; | 433 | goto eclkpget; |