mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
remove abs64()
Switch everything to the new and more capable implementation of abs(). Mainly to give the new abs() a bit of a workout. Cc: Michal Nazarewicz <[email protected]> Cc: John Stultz <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c8299cb605
commit
79211c8ed1
13 changed files with 16 additions and 19 deletions
|
|
@ -1133,7 +1133,7 @@ static int __ov965x_set_frame_interval(struct ov965x *ov965x,
|
|||
if (mbus_fmt->width != iv->size.width ||
|
||||
mbus_fmt->height != iv->size.height)
|
||||
continue;
|
||||
err = abs64((u64)(iv->interval.numerator * 10000) /
|
||||
err = abs((u64)(iv->interval.numerator * 10000) /
|
||||
iv->interval.denominator - req_int);
|
||||
if (err < min_err) {
|
||||
fiv = iv;
|
||||
|
|
|
|||
Loading…
Reference in a new issue