]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/hwmon/sht21.c
hwmon: remove use of __devexit_p
[mirror_ubuntu-zesty-kernel.git] / drivers / hwmon / sht21.c
index c2565d04cd4a104df117c32c65878d236f8522ec..3ffd3b3deb04b6fff1c73701e32033434642b256 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/err.h>
 #include <linux/mutex.h>
 #include <linux/device.h>
+#include <linux/jiffies.h>
 
 /* I2C command bytes */
 #define SHT21_TRIG_T_MEASUREMENT_HM  0xe3
@@ -252,7 +253,7 @@ MODULE_DEVICE_TABLE(i2c, sht21_id);
 static struct i2c_driver sht21_driver = {
        .driver.name = "sht21",
        .probe       = sht21_probe,
-       .remove      = __devexit_p(sht21_remove),
+       .remove      = sht21_remove,
        .id_table    = sht21_id,
 };