clk: ast2600: allow empty entries in aspeed_g6_gates
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 2 Mar 2023 00:58:29 +0000 (08:58 +0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 6 Mar 2023 22:11:03 +0000 (14:11 -0800)
commitf0dd78de23539397e5f004fe6c41d3d45b36c7cf
tree433844777aa4daeecfeff344e0923fc7a667af20
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
clk: ast2600: allow empty entries in aspeed_g6_gates

We're about to remove an entry from aspeed_g6_gates, but we won't want
to alter/reorder existing entries. Allow empty entries in this array.

Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20230302005834.13171-2-jk@codeconstruct.com.au
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-ast2600.c