OSDN Git Service

clk: Simplify clk_core_can_round()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 17 Jun 2019 12:02:48 +0000 (14:02 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 25 Jun 2019 21:50:45 +0000 (14:50 -0700)
commiteef1f1b6cff90ab7b24f9aaee11bbfeb1c7dc66b
tree196223b9f073f3e712f3ee8be1158fe4107c770d
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
clk: Simplify clk_core_can_round()

A boolean expression already evaluates to true or false, so there is no
need to check the result and return true or false explicitly.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c