delete unused IOCTL ACCELIOCGSCALE

This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent 8ad59160c9
commit b0c3e12139
12 changed files with 0 additions and 58 deletions
-5
View File
@@ -668,11 +668,6 @@ BMI160::ioctl(struct file *filp, int cmd, unsigned long arg)
}
}
case ACCELIOCGSCALE:
/* copy scale out */
memcpy((struct accel_calibration_s *) arg, &_accel_scale, sizeof(_accel_scale));
return OK;
case ACCELIOCSRANGE:
return set_accel_range(arg);