delete unused IOCTL MAGIOCGSAMPLERATE

This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent 60a40ec131
commit 0ea18b2b73
14 changed files with 2 additions and 45 deletions
@@ -807,9 +807,6 @@ BMM150::ioctl(struct file *filp, int cmd, unsigned long arg)
case MAGIOCEXSTRAP:
return OK;
case MAGIOCGSAMPLERATE:
return 1000000 / _call_interval;
default:
/* give it to the superclass */
return I2C::ioctl(filp, cmd, arg);