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
@@ -726,12 +726,6 @@ BMM150::ioctl(struct file *filp, int cmd, unsigned long arg)
case SENSORIOCSPOLLRATE: {
switch (arg) {
/* switching to manual polling */
case SENSOR_POLLRATE_MANUAL:
stop();
_call_interval = 0;
return OK;
/* zero would be bad */
case 0:
return -EINVAL;