clk: sunxi: Use proper type for of_clk_get_parent_count() return value
commit36bf2811416c7ac79260e0a3b1bb0648559e443b
authorStephen Boyd <sboyd@codeaurora.org>
Sat, 20 Feb 2016 01:44:27 +0000 (19 17:44 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 27 Feb 2016 00:01:32 +0000 (26 16:01 -0800)
tree666de494ea554bcbbaf452de19a6fb926b284de6
parentcaeb057cd30412b85e69f663a43f55a29666c79b
clk: sunxi: Use proper type for of_clk_get_parent_count() return value

The return type of of_clk_get_parent_count() is an unsigned int
now, so let's update the code here to be more explicit about the
range of values we can test for.

Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sunxi/clk-sun6i-ar100.c