clk: gpio: Remove impossible check for of_clk_get_parent_count() < 0
authorStephen Boyd <sboyd@codeaurora.org>
Sat, 20 Feb 2016 01:31:52 +0000 (17:31 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 27 Feb 2016 00:01:32 +0000 (16:01 -0800)
commit0985df89537e7fd5ec963c760f7860b5718510ce
treead532a98ea46da0ba04af3aaae1caf5974e86b75
parent8c1b1e54faed690261752afcba27c79ce4d3fa10
clk: gpio: Remove impossible check for of_clk_get_parent_count() < 0

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 <sboyd@codeaurora.org>
drivers/clk/clk-gpio.c
This page took 0.057029 seconds and 5 git commands to generate.