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)
commite306479ac252928b84cc563c6e790f9b7e7ae427
tree339423158080f55792c2bee3c0cf0eec751aa8a1
parentd7a304e9d018c99dda80f4c16ec0fe817b5be4a1
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