clk: rockchip: handle of_iomap failures in legacy clock driver
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 13 Aug 2016 15:26:18 +0000 (20:56 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 23 Aug 2016 16:00:25 +0000 (18:00 +0200)
commit023a8280b8355a0aebe094299afec8d8b7b264cd
treed3b1952c3cd7088233a1ce06f5c81821245c17a4
parent54479449c801e46ee2b6ba08e2f19cd810f74f94
clk: rockchip: handle of_iomap failures in legacy clock driver

Check return value of of_iomap and handle errors correctly.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rockchip.c