net: ag71xx: use resource_size for the ioremap size
use resource_size to calcuate ioremap size and make the code simpler. Signed-off-by: NDing Xiang <dingxiang@cmss.chinamobile.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录