diff options
Diffstat (limited to 'drivers/spi/spi_tegra.c')
-rw-r--r-- | drivers/spi/spi_tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_tegra.c b/drivers/spi/spi_tegra.c index bb7df02a5472..891e5909038c 100644 --- a/drivers/spi/spi_tegra.c +++ b/drivers/spi/spi_tegra.c | |||
@@ -513,7 +513,7 @@ static int __init spi_tegra_probe(struct platform_device *pdev) | |||
513 | } | 513 | } |
514 | 514 | ||
515 | tspi->clk = clk_get(&pdev->dev, NULL); | 515 | tspi->clk = clk_get(&pdev->dev, NULL); |
516 | if (IS_ERR_OR_NULL(tspi->clk)) { | 516 | if (IS_ERR(tspi->clk)) { |
517 | dev_err(&pdev->dev, "can not get clock\n"); | 517 | dev_err(&pdev->dev, "can not get clock\n"); |
518 | ret = PTR_ERR(tspi->clk); | 518 | ret = PTR_ERR(tspi->clk); |
519 | goto err2; | 519 | goto err2; |