diff options
Diffstat (limited to 'drivers/spi/spi-fsl-spi.c')
-rw-r--r-- | drivers/spi/spi-fsl-spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c index bbc94294891c..2129fcd1c31b 100644 --- a/drivers/spi/spi-fsl-spi.c +++ b/drivers/spi/spi-fsl-spi.c | |||
@@ -902,7 +902,7 @@ static int plat_mpc8xxx_spi_probe(struct platform_device *pdev) | |||
902 | return -EINVAL; | 902 | return -EINVAL; |
903 | 903 | ||
904 | master = fsl_spi_probe(&pdev->dev, mem, irq); | 904 | master = fsl_spi_probe(&pdev->dev, mem, irq); |
905 | return PTR_RET(master); | 905 | return PTR_ERR_OR_ZERO(master); |
906 | } | 906 | } |
907 | 907 | ||
908 | static int plat_mpc8xxx_spi_remove(struct platform_device *pdev) | 908 | static int plat_mpc8xxx_spi_remove(struct platform_device *pdev) |