]> git.baikalelectronics.ru Git - kernel.git/commit
clk: h8300: Fix signness bug
authorAxel Lin <axel.lin@ingics.com>
Sat, 20 Jun 2015 07:27:03 +0000 (15:27 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 28 Jul 2015 18:53:20 +0000 (11:53 -0700)
commitebd518538d7ab3567eaa4f5e08dcc710c473a781
tree339423158080f55792c2bee3c0cf0eec751aa8a1
parent079ed07f81f4afb739d317897213399dde2150d8
clk: h8300: Fix signness bug

of_clk_get_parent_count() may return negative error code, so num_parents
needs to be int rather than unsigned int.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/h8300/clk-div.c
drivers/clk/h8300/clk-h8s2678.c