]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - drivers/clk/st/clkgen-mux.c
clk: st: Remove impossible check for of_clk_get_parent_count() < 0
authorStephen Boyd <sboyd@codeaurora.org>
Sat, 20 Feb 2016 01:43:30 +0000 (17:43 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 27 Feb 2016 00:01:32 +0000 (16:01 -0800)
commitcaeb057cd30412b85e69f663a43f55a29666c79b
tree03206ff2e895af95c99e2e9a1655fae3abc98e63
parentebf3f9a9234211ea9de186402b53389de676f1d5
clk: st: Remove impossible check for of_clk_get_parent_count() < 0

The checks for < 0 are impossible now that
of_clk_get_parent_count() returns an unsigned int. Simplify the
code and update the types.

Cc: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/st/clk-flexgen.c
drivers/clk/st/clkgen-mux.c