[PATCH 5.4 082/111] clk: fix invalid usage of list cursor in register