iio:adc:qcom-spmi-vadc: use div64_s64 instead of direct 64 bit division.
authorJonathan Cameron <jic23@kernel.org>
Sun, 8 Jan 2017 19:52:25 +0000 (19:52 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 10 Jan 2017 21:13:39 +0000 (21:13 +0000)
commite30eca0e69cb888125b081c96ca761e958fcb5b4
treef05995f4dbcdf7d6691d0b86999c8e5ac1ce8c52
parent292ccbd3c419763f3b1bcd2816f53bd27d14be23
iio:adc:qcom-spmi-vadc: use div64_s64 instead of direct 64 bit division.

Another one of these that we missed previously which prevents test builds
of this driver on 32 bit platforms as it gives an undefined __divdi3 warning.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/qcom-spmi-vadc.c