commit | 53fdc8fd25e81da9dd3acb920c448b601f8d29ff | [log] [tgz] |
---|---|---|
author | Martin Kepplinger <martink@posteo.de> | Tue Sep 29 13:32:27 2015 +0200 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Oct 01 16:40:01 2015 -0700 |
tree | 99d51ca6c1d3b4a3f7431bb2cbfae7e5e6482538 | |
parent | 7a03fe6f48f35bbf5f5c3cb46f02e8c90b26b238 [diff] |
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>