]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
simplefb: Remove impossible check for of_clk_get_parent_count() < 0
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 22 Feb 2016 19:14:25 +0000 (11:14 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 27 Feb 2016 00:01:32 +0000 (16:01 -0800)
commit2cd82d06e4c62f927ede33e62f9f0507d64903c9
treef194605588411631aaffb56aec0fab28db2dd471
parent3d755dcc20dd452b52532eca17da40ebbd12aee9
simplefb: 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.

Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: <linux-fbdev@vger.kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/video/fbdev/simplefb.c