summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tegra20-slink.c
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2013-01-11 13:31:20 +0530
committerStephen Warren <swarren@nvidia.com>2013-01-28 11:19:33 -0700
commit3cb919022a7ab7628fcd69c28d475d2dbb1cb150 (patch)
tree469a12a90fe29472eb55f65b23782b92df213b22 /drivers/spi/spi-tegra20-slink.c
parent52dec4c9eacc339dbf1b2ab549248df1cc6eb030 (diff)
downloadlinux-3cb919022a7ab7628fcd69c28d475d2dbb1cb150.tar.gz
linux-3cb919022a7ab7628fcd69c28d475d2dbb1cb150.tar.bz2
linux-3cb919022a7ab7628fcd69c28d475d2dbb1cb150.zip
spi: tegra: do not use clock name to get clock
Since Tegra spi devices do not have multiple clocks, no need to use clock name to get the clock. Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/spi/spi-tegra20-slink.c')
-rw-r--r--drivers/spi/spi-tegra20-slink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c
index fa208a5cc612..e255e7a35678 100644
--- a/drivers/spi/spi-tegra20-slink.c
+++ b/drivers/spi/spi-tegra20-slink.c
@@ -1191,7 +1191,7 @@ static int tegra_slink_probe(struct platform_device *pdev)
goto exit_free_master;
}
- tspi->clk = devm_clk_get(&pdev->dev, "slink");
+ tspi->clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(tspi->clk)) {
dev_err(&pdev->dev, "can not get clock\n");
ret = PTR_ERR(tspi->clk);