diff options
author | Peng Fan | 2017-04-18 20:41:53 +0800 |
---|---|---|
committer | Stefano Babic | 2017-05-18 11:23:31 +0200 |
commit | 80512547ba3706679a039ae823bb957af422580e (patch) | |
tree | 29b77e17504a404b17529c40a1c24919445c20e6 /lib | |
parent | 4fac41716840cb235a740d4d220f46a545a7632d (diff) |
thermal: imx: fix calculation
Fix calculation. do_div can not handle negative values.
Use div_s64_rem to handle the calculation.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions