diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2016-03-12 17:25:53 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-03-27 13:03:35 +0200 |
commit | ff1ae209617cb31a5297bd103709d6b9e2db77d2 (patch) | |
tree | f78cc97b8db8159e4b09bb7e5fbc4171a6fcc721 /drivers/vfio | |
parent | clk: rockchip: fix warning reported by kernel-doc (diff) | |
download | linux-ff1ae209617cb31a5297bd103709d6b9e2db77d2.tar.xz linux-ff1ae209617cb31a5297bd103709d6b9e2db77d2.zip |
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>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions