delete IOCTL SENSOR_POLLRATE_MANUAL

- only used in self tests
This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent 8dfd55fc9e
commit 556a9422b5
42 changed files with 3 additions and 299 deletions
@@ -392,12 +392,6 @@ MPL3115A2::ioctl(struct file *filp, int cmd, unsigned long arg)
case SENSORIOCSPOLLRATE: {
switch (arg) {
/* switching to manual polling */
case SENSOR_POLLRATE_MANUAL:
stop_cycle();
_measure_ticks = 0;
return OK;
/* zero would be bad */
case 0:
return -EINVAL;