Commit 2a52e8d4 authored by Jeff Garzik's avatar Jeff Garzik

ata/sata_fsl: cleanup needless casts to/from void __iomem *

Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarLi Yang <leoli@freescale.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 9465d532
......@@ -483,7 +483,7 @@ static int sata_fsl_scr_write(struct ata_port *ap, unsigned int sc_reg_in,
VPRINTK("xx_scr_write, reg_in = %d\n", sc_reg);
iowrite32(val, (void __iomem *)ssr_base + (sc_reg * 4));
iowrite32(val, ssr_base + (sc_reg * 4));
return 0;
}
......@@ -507,7 +507,7 @@ static int sata_fsl_scr_read(struct ata_port *ap, unsigned int sc_reg_in,
VPRINTK("xx_scr_read, reg_in = %d\n", sc_reg);
*val = ioread32((void __iomem *)ssr_base + (sc_reg * 4));
*val = ioread32(ssr_base + (sc_reg * 4));
return 0;
}
......
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