Skip to content

Commit

Permalink
spi: omap-uwire: add missing iounmap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nishanth Menon authored and Mark Brown committed Mar 27, 2014
1 parent d7a7f6e commit cbab804
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/spi-omap-uwire.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cbab804

Please sign in to comment.