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 41e89c3e3edc..ca0ddb8cef5c 100644 --- a/drivers/spi/spi-fsl-spi.c +++ b/drivers/spi/spi-fsl-spi.c | |||
@@ -901,7 +901,7 @@ static int plat_mpc8xxx_spi_probe(struct platform_device *pdev) | |||
901 | return -EINVAL; | 901 | return -EINVAL; |
902 | 902 | ||
903 | master = fsl_spi_probe(&pdev->dev, mem, irq); | 903 | master = fsl_spi_probe(&pdev->dev, mem, irq); |
904 | return PTR_RET(master); | 904 | return PTR_ERR_OR_ZERO(master); |
905 | } | 905 | } |
906 | 906 | ||
907 | static int plat_mpc8xxx_spi_remove(struct platform_device *pdev) | 907 | static int plat_mpc8xxx_spi_remove(struct platform_device *pdev) |