diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-14 18:24:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-14 18:24:37 -0500 |
commit | 8473dbb43db92fa8de7c24d1973aaf1e0276a89f (patch) | |
tree | 3fca0a8ab3cea5c41098e0f04fae690cce38f70e /drivers/spi/spi_tegra.c | |
parent | 7cb3920a6529df7f54487abe973b903b8239e901 (diff) | |
parent | 94a1b6d8eb903818773ad24fe48529b0d295052d (diff) |
Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6
* 'next-spi' of git://git.secretlab.ca/git/linux-2.6:
spi/amba-pl022: fixing compilation warning.
spi: Enable SPI driver for S5P6440 and S5P6450
mmc: sdhci-of: fix build on non-powerpc platforms
spi/imx: Add i.MX53 support
spi/dw_spi: don't treat NULL clk as an error
spi: tegra: don't treat NULL clk as an error
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; |