usb: dwc3: Remove impossible check for of_clk_get_parent_count() < 0
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 22 Feb 2016 19:12:47 +0000 (11:12 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 27 Feb 2016 00:01:32 +0000 (16:01 -0800)
commit3d755dcc20dd452b52532eca17da40ebbd12aee9
tree8535241ccbf44c6a5124915954d3416e3f5ffd69
parent921bacfa34d48c019bb068257c0947d728662bf3
usb: dwc3: 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 types.

Acked-by: Felipe Balbi <balbi@kernel.org>
Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/usb/dwc3/dwc3-of-simple.c