]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf098267a9a2b4365b55358ee3aafbca860e53fac
tree9dbf66954183afb20d3afedb6c8b3e4a460c1b24
parent18cb953c945f2744604ef4a3a66b74d84953455e
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