The check for < 0 is impossible now that
of_clk_get_parent_count() returns an unsigned int. Simplify the
code and update the type here.
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-gpio.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
The check for < 0 is impossible now that
of_clk_get_parent_count() returns an unsigned int. Simplify the
code and update the type here.
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-gpio.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/clk-gpio.c
2 matches
Mail list logo