summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-fractional-divider.c
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2015-09-29 13:32:27 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-10-01 16:40:01 -0700
commit53fdc8fd25e81da9dd3acb920c448b601f8d29ff (patch)
tree99d51ca6c1d3b4a3f7431bb2cbfae7e5e6482538 /drivers/clk/clk-fractional-divider.c
parent7a03fe6f48f35bbf5f5c3cb46f02e8c90b26b238 (diff)
downloadop-kernel-dev-53fdc8fd25e81da9dd3acb920c448b601f8d29ff.zip
op-kernel-dev-53fdc8fd25e81da9dd3acb920c448b601f8d29ff.tar.gz
clk: imx: use sign_extend32() and abs()
This simplifies the given function by getting rid of the manual sign extension as well as saving an absolute value in an extra variable. Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-fractional-divider.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud