mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 09:00:54 +07:00
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>
This commit is contained in:
parent
d7a7f6ec14
commit
cbab80464f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user