提交 2a52e8d4 编写于 作者: J Jeff Garzik

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

Signed-off-by: NJeff Garzik <jeff@garzik.org>
Signed-off-by: NLi Yang <leoli@freescale.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册