diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-11 12:52:32 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-27 07:38:23 -0500 |
commit | e0d8b13ae1e3ea747620580b6f777992148de182 (patch) | |
tree | f3d9e65a8d52f3e273b91ddfcd397c1d8438e558 /drivers/serial/pxa.c | |
parent | 8c3abc7d903df492a7394b0adae4349d9a381aaf (diff) |
[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 'drivers/serial/pxa.c')
-rw-r--r-- | drivers/serial/pxa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/pxa.c b/drivers/serial/pxa.c index abc00be55433..8ea314bc00c1 100644 --- a/drivers/serial/pxa.c +++ b/drivers/serial/pxa.c | |||
@@ -766,7 +766,7 @@ static int serial_pxa_probe(struct platform_device *dev) | |||
766 | if (!sport) | 766 | if (!sport) |
767 | return -ENOMEM; | 767 | return -ENOMEM; |
768 | 768 | ||
769 | sport->clk = clk_get(&dev->dev, "UARTCLK"); | 769 | sport->clk = clk_get(&dev->dev, NULL); |
770 | if (IS_ERR(sport->clk)) { | 770 | if (IS_ERR(sport->clk)) { |
771 | ret = PTR_ERR(sport->clk); | 771 | ret = PTR_ERR(sport->clk); |
772 | goto err_free; | 772 | goto err_free; |