bmp280: use correct routine for division
authorVlad Dogaru <vlad.dogaru@intel.com>
Thu, 23 Oct 2014 14:52:00 +0000 (15:52 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 25 Oct 2014 09:44:54 +0000 (10:44 +0100)
commit46ee98a206c1fa6fc394791fb6188a47820a80b5
tree9dbf66954183afb20d3afedb6c8b3e4a460c1b24
parentd5c94568cc1d11dffee349468ae996e420381453
bmp280: use correct routine for division

The proper way to divide two signed 64-bit values is to use div64_s64.

Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/bmp280.c