summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-iproc-qspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-iproc-qspi.c')
-rw-r--r--drivers/spi/spi-iproc-qspi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/spi/spi-iproc-qspi.c b/drivers/spi/spi-iproc-qspi.c
index de297dacfd57..91cf8eb7213c 100644
--- a/drivers/spi/spi-iproc-qspi.c
+++ b/drivers/spi/spi-iproc-qspi.c
@@ -129,7 +129,9 @@ static int bcm_iproc_probe(struct platform_device *pdev)
static int bcm_iproc_remove(struct platform_device *pdev)
{
- return bcm_qspi_remove(pdev);
+ bcm_qspi_remove(pdev);
+
+ return 0;
}
static const struct of_device_id bcm_iproc_of_match[] = {