video: remove unused sh_mobile_lcdc platform data
authorMagnus Damm <damm@igel.co.jp>
Thu, 9 Oct 2008 09:47:27 +0000 (18:47 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Oct 2008 02:38:47 +0000 (11:38 +0900)
Remove lddckr from the platform data, these days we calculate the
register value from clock source and clock dividers anyway.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c
include/video/sh_mobile_lcdc.h

index b7468ba..399a8a7 100644 (file)
@@ -589,7 +589,6 @@ static int __init sh_mobile_lcdc_probe(struct platform_device *pdev)
                goto err1;
        }
 
-       priv->lddckr = pdata->lddckr;
        priv->base = ioremap_nocache(res->start, (res->end - res->start) + 1);
 
        for (i = 0; i < j; i++) {
index 130102f..bfb42db 100644 (file)
@@ -64,7 +64,6 @@ struct sh_mobile_lcdc_chan_cfg {
 };
 
 struct sh_mobile_lcdc_info {
-       unsigned long lddckr;
        int clock_source;
        struct sh_mobile_lcdc_chan_cfg ch[2];
 };