clk: at91: Remove impossible checks for of_clk_get_parent_count()
authorStephen Boyd <sboyd@codeaurora.org>
Sat, 20 Feb 2016 01:29:17 +0000 (17:29 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 27 Feb 2016 00:01:32 +0000 (16:01 -0800)
commit8c1b1e54faed690261752afcba27c79ce4d3fa10
tree075c60de1e8e0d9ce51833e3d9c64b34494483fb
parent929e7f3bc7b82fb3e72392dec6a1df334cff6313
clk: at91: Remove impossible checks for of_clk_get_parent_count()

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 <boris.brezillon@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/at91/clk-generated.c
drivers/clk/at91/clk-main.c
drivers/clk/at91/clk-master.c
drivers/clk/at91/clk-programmable.c
drivers/clk/at91/clk-slow.c
drivers/clk/at91/clk-smd.c
drivers/clk/at91/clk-usb.c
This page took 0.027268 seconds and 5 git commands to generate.