[PATCH 5.10 146/188] clk: fix invalid usage of list cursor in register