mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
delete unused IOCTL MAGIOCTYPE
This commit is contained in:
committed by
Lorenz Meier
parent
114b471675
commit
04972d196a
@@ -99,7 +99,4 @@ struct mag_calibration_s {
|
||||
/** enable/disable temperature compensation */
|
||||
#define MAGIOCSTEMPCOMP _MAGIOC(12)
|
||||
|
||||
/** get the current mag type */
|
||||
#define MAGIOCTYPE _MAGIOC(13)
|
||||
|
||||
#endif /* _DRV_MAG_H */
|
||||
|
||||
@@ -1177,9 +1177,6 @@ ADIS16448::mag_ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
case MAGIOCGRANGE:
|
||||
return (unsigned long)(_mag_range_mgauss);
|
||||
|
||||
case MAGIOCTYPE:
|
||||
return (ADIS16448_Product);
|
||||
|
||||
default:
|
||||
/* give it to the superclass */
|
||||
return SPI::ioctl(filp, cmd, arg);
|
||||
|
||||
Reference in New Issue
Block a user