summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-iproc-qspi.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-10-17 22:01:43 +0200
committerMark Brown <broonie@kernel.org>2022-10-18 19:16:53 +0100
commit666ea0ad932fbdc82644457f1a78f4584801f698 (patch)
tree52ea3d2274bce42219c87d4839cb45d27052d03e /drivers/spi/spi-iproc-qspi.c
parente3b7fca31185813297bb995d7b21a6305bb62c84 (diff)
downloadlwn-666ea0ad932fbdc82644457f1a78f4584801f698.tar.gz
lwn-666ea0ad932fbdc82644457f1a78f4584801f698.zip
spi: bcm-qspi: Make bcm_qspi_remove() return void
The function bcm_qspi_remove() returns zero unconditionally. Make it return void. This is a preparation for making platform remove callbacks return void. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20221017200143.1426528-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
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[] = {