[Linux-stable-mirror] [PATCH AUTOSEL for 4.14 080/100] clk: fix a panic error caused by accessing NULL pointer