diff options
author | Nishanth Menon <nm@ti.com> | 2014-03-27 20:07:59 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-27 20:51:21 +0400 |
commit | cbab80464f7470432b4b8061333c572a8b9a713f (patch) | |
tree | aee5c1dd53b5807b930bcb55f6b638ba49f2a6ae /drivers | |
parent | d7a7f6ec14fb07ed9c1167db760bc535b742b382 (diff) | |
download | linux-cbab80464f7470432b4b8061333c572a8b9a713f.tar.xz |
spi: omap-uwire: add missing iounmap
This fixes the following coccicheck warning:
linux-2.6/drivers/spi/spi-omap-uwire.c:485:2-8: ERROR: missing iounmap; ioremap on line 471 and execution via conditional on line 481
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/spi-omap-uwire.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-omap-uwire.c b/drivers/spi/spi-omap-uwire.c index f5176bbfa6f1..31ce92ff738b 100644 --- a/drivers/spi/spi-omap-uwire.c +++ b/drivers/spi/spi-omap-uwire.c @@ -478,6 +478,7 @@ static int uwire_probe(struct platform_device *pdev) status = PTR_ERR(uwire->ck); dev_dbg(&pdev->dev, "no functional clock?\n"); spi_master_put(master); + iounmap(uwire_base); return status; } clk_enable(uwire->ck); |