From be2c73e9c35a9fed7974bbe8f6f4c4847e17324e Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 29 Jan 2017 16:20:44 +0100 Subject: [PATCH] HMC driver: Device ID should come from the main instance, not the interface --- src/drivers/hmc5883/hmc5883.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/drivers/hmc5883/hmc5883.cpp b/src/drivers/hmc5883/hmc5883.cpp index 0dd18a53a1..d771aefd57 100644 --- a/src/drivers/hmc5883/hmc5883.cpp +++ b/src/drivers/hmc5883/hmc5883.cpp @@ -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);