/* Datasheet specify raw units are 16 LSB/uT and this function converts it to Gauss  */
static void bmm150_convert(struct sensor_value *val, int raw_val)
/* Datasheet specify raw units are 16 LSB/uT and this function converts it to Gauss  */
static void bmm150_convert(struct sensor_value *val, int raw_val)
{
	val->val1 = raw_val / 1600;
	val->val2 = ((int32_t)raw_val * (1000000 / 1600)) % 1000000;
}