These checks for < 0 are impossible now that
of_clk_get_parent_count() returns an unsigned int. Change the
checks for == 0 and update the type.
Cc: Boris Brezillon
Signed-off-by: Stephen Boyd
---
drivers/clk/at91/clk-generated.c| 4
These checks for < 0 are impossible now that
of_clk_get_parent_count() returns an unsigned int. Change the
checks for == 0 and update the type.
Cc: Boris Brezillon
Signed-off-by: Stephen Boyd
---
drivers/clk/at91/clk-generated.c| 4 ++--
drivers/clk/at91/clk-main.c | 4 ++--
2 matches
Mail list logo