Browse Source

HMC driver: Device ID should come from the main instance, not the interface

sbg
Lorenz Meier 8 years ago
parent
commit
be2c73e9c3
  1. 3
      src/drivers/hmc5883/hmc5883.cpp

3
src/drivers/hmc5883/hmc5883.cpp

@ -762,9 +762,6 @@ HMC5883::ioctl(struct file *filp, int cmd, unsigned long arg) @@ -762,9 +762,6 @@ HMC5883::ioctl(struct file *filp, int cmd, unsigned long arg)
case MAGIOCSTEMPCOMP:
return set_temperature_compensation(arg);
case DEVIOCGDEVICEID:
return _interface->ioctl(cmd, dummy);
default:
/* give it to the superclass */
return CDev::ioctl(filp, cmd, arg);

Loading…
Cancel
Save