Commit 50356dd7 authored by Sekhar Nori's avatar Sekhar Nori

spi: davinci: remove unnecessary typecast

The typecasting of SPI base address to davinci_spi_reg is
unused.

Remove it.
Tested-By: default avatarMichael Williamson <michael.williamson@criticallink.com>
Tested-By: default avatarBrian Niebuhr <bniebuhr@efjohnson.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 8e206f1c
......@@ -1020,8 +1020,7 @@ static int davinci_spi_probe(struct platform_device *pdev)
goto free_master;
}
davinci_spi->base = (struct davinci_spi_reg __iomem *)
ioremap(r->start, davinci_spi->region_size);
davinci_spi->base = ioremap(r->start, davinci_spi->region_size);
if (davinci_spi->base == NULL) {
ret = -ENOMEM;
goto release_region;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment