diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-11 18:52:32 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-27 13:38:23 +0100 |
commit | e0d8b13ae1e3ea747620580b6f777992148de182 (patch) | |
tree | f3d9e65a8d52f3e273b91ddfcd397c1d8438e558 /drivers/video/pxafb.c | |
parent | [ARM] pxa: convert to clkdev and match clocks by struct device where possible (diff) | |
download | linux-e0d8b13ae1e3ea747620580b6f777992148de182.tar.xz linux-e0d8b13ae1e3ea747620580b6f777992148de182.zip |
[ARM] pxa: don't pass a consumer clock name for devices with unique clocks
Where devices only have one consumer, passing a consumer clock ID
has no real benefit. Remove it.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | drivers/video/pxafb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index cc59c52e1103..0bc2c5a127b9 100644 --- a/drivers/video/pxafb.c +++ b/drivers/video/pxafb.c @@ -1429,7 +1429,7 @@ static struct pxafb_info * __devinit pxafb_init_fbinfo(struct device *dev) memset(fbi, 0, sizeof(struct pxafb_info)); fbi->dev = dev; - fbi->clk = clk_get(dev, "LCDCLK"); + fbi->clk = clk_get(dev, NULL); if (IS_ERR(fbi->clk)) { kfree(fbi); return NULL; |