clk: rockchip: remove redundant checking of device_node
authorShawn Lin <shawn.lin@rock-chips.com>
Sat, 12 Mar 2016 16:25:53 +0000 (00:25 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 27 Mar 2016 11:03:35 +0000 (13:03 +0200)
commitff1ae209617cb31a5297bd103709d6b9e2db77d2
treef78cc97b8db8159e4b09bb7e5fbc4171a6fcc721
parent2af2544d60f007277a98f66391a521ec377a6a67
clk: rockchip: remove redundant checking of device_node

rockchip_clk_of_add_provider is used by sub-clk driver which
already call of_iomap before calling it. If device_node does
not exist, of_iomap returns NULL which will fail to init the
sub-clk driver. So really it's redundant.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk.c