summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-omap-uwire.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-03-29 18:50:12 +0800
committerMark Brown <broonie@linaro.org>2014-03-29 11:09:26 +0000
commitd9721ae1493725bb14dcd1a3c19bbb5795e4a42f (patch)
treec50e7c46d9181aefca4508b83c5fb1c4b0920869 /drivers/spi/spi-omap-uwire.c
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
spi: bitbang: Make spi_bitbang_stop() return void
spi_bitbang_stop() never fails, so make it return void. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-omap-uwire.c')
-rw-r--r--drivers/spi/spi-omap-uwire.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/spi/spi-omap-uwire.c b/drivers/spi/spi-omap-uwire.c
index 9313fd3b413d..a4d7bb557792 100644
--- a/drivers/spi/spi-omap-uwire.c
+++ b/drivers/spi/spi-omap-uwire.c
@@ -539,14 +539,13 @@ static int uwire_probe(struct platform_device *pdev)
static int uwire_remove(struct platform_device *pdev)
{
struct uwire_spi *uwire = platform_get_drvdata(pdev);
- int status;
// FIXME remove all child devices, somewhere ...
- status = spi_bitbang_stop(&uwire->bitbang);
+ spi_bitbang_stop(&uwire->bitbang);
uwire_off(uwire);
iounmap(uwire_base);
- return status;
+ return 0;
}
/* work with hotplug and coldplug */