diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-04-18 20:41:53 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-05-18 11:23:31 +0200 |
commit | 80512547ba3706679a039ae823bb957af422580e (patch) | |
tree | 29b77e17504a404b17529c40a1c24919445c20e6 /configs/sh7785lcr_defconfig | |
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 'configs/sh7785lcr_defconfig')
0 files changed, 0 insertions, 0 deletions