[PATCH 6/7] clk: rockchip: remove redundant checking of device_node

Heiko Stuebner heiko at sntech.de
Sun Mar 13 17:26:33 PDT 2016


Am Sonntag, 13. März 2016, 00:25:53 schrieb Shawn Lin:
> 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 at rock-chips.com>

applied for v4.7

Thanks
Heiko



More information about the Linux-rockchip mailing list