[PATCH 5.11 166/210] clk: fix invalid usage of list cursor in register