Re: [PATCH] clk: Simplify clk_is_match()

From: Brian Masney

Date: Mon Mar 09 2026 - 11:18:53 EST


On Thu, Mar 05, 2026 at 11:12:33AM +0100, Geert Uytterhoeven wrote:
> Linux style is to handle early-on failure. Inverting the first
> condition lets us simplify the second, and improves readability.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Reviewed-by: Brian Masney <bmasney@xxxxxxxxxx>

Stephen: There are 8 places in clk_test.c where clk_is_match() is
called, so I feel we should be good testing coverage wise.