hwmon: qpnp-adc: use div64_s64 instead of do_div
Fix compiler warning about invalid use of do_div macro.
Use div64_s64 function to divide two signed 64-bit numbers.
Change-Id: I44bc6578584655694ace0bf12fae65a3a9c5cd09
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Loading
Please register or sign in to comment