delete unused IOCTL ACCELIOCGRANGE

This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent 5d3d120705
commit 77abcab46f
13 changed files with 2 additions and 42 deletions
-3
View File
@@ -432,9 +432,6 @@ BMI055_accel::ioctl(struct file *filp, int cmd, unsigned long arg)
}
}
case ACCELIOCGRANGE:
return (unsigned long)((_accel_range_m_s2) / CONSTANTS_ONE_G + 0.5f);
default:
/* give it to the superclass */
return SPI::ioctl(filp, cmd, arg);