clk: sunxi: Use resource_size
authorVaishali Thakkar <vaishali.thakkar@oracle.com>
Mon, 11 Apr 2016 04:53:03 +0000 (10:23 +0530)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 21 Apr 2016 22:29:22 +0000 (00:29 +0200)
commitf4b9ef653c047165f096d32816904be5ee337a63
tree04e069bc836e9def265de0e1c54a35b9b81270dc
parent5ed400dd96d8222e667ee473c7ebd676f05113f8
clk: sunxi: Use resource_size

Use the function resource_size instaed of explicit computation.

Problem found using Coccinelle.

Signed-off-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sun9i-mmc.c