clk: remove redundant negative index check in of_clk_get_parent_name()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 20 Nov 2015 07:36:19 +0000 (16:36 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 20 Nov 2015 17:18:24 +0000 (09:18 -0800)
commitc736c4e11e9def555482f3f626254594d3f11f9c
treee9360b50029da1384bb20afbb032f4bb8450c56e
parent59fe66313a41843bc4c237275e64f81cde121ac8
clk: remove redundant negative index check in of_clk_get_parent_name()

This if-block can be dropped because the of_parse_phandle_with_args()
in the following line returns -EINVAL for negative index.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c