drivers: bmi160: fix variable type mismatching issue

The variable type mismatching was caught by LLVM.

Jira: ZEP-1179

Change-Id: I1193a946ea5814510e6c07668c5d05a5d91445a8
Signed-off-by: Baohong Liu <baohong.liu@intel.com>
This commit is contained in:
Baohong Liu 2016-11-15 17:09:16 -08:00 committed by Anas Nashif
commit d6ba1c0c3e

View file

@ -769,7 +769,7 @@ static inline void bmi160_acc_channel_get(struct device *dev,
static int bmi160_temp_channel_get(struct device *dev, struct sensor_value *val)
{
int16_t temp_raw = 0;
uint16_t temp_raw = 0;
int32_t temp_micro = 0;
struct bmi160_device_data *bmi160 = dev->driver_data;