]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/macintosh/therm_windtunnel.c
Remove obsolete #include <linux/config.h>
[mirror_ubuntu-jammy-kernel.git] / drivers / macintosh / therm_windtunnel.c
index 6aaa1df1a64ed458fb54d2804ce8d6e58b9a08bd..c7d1c290cb0c11280ee48a4840897adafaf68a86 100644 (file)
@@ -27,7 +27,6 @@
  *   
  */
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/module.h>
 #include <linux/errno.h>
@@ -354,10 +353,10 @@ do_detach( struct i2c_client *client )
 }
 
 static struct i2c_driver g4fan_driver = {  
-       .owner          = THIS_MODULE,
-       .name           = "therm_windtunnel",
+       .driver = {
+               .name   = "therm_windtunnel",
+       },
        .id             = I2C_DRIVERID_G4FAN,
-       .flags          = I2C_DF_NOTIFY,
        .attach_adapter = do_attach,
        .detach_client  = do_detach,
 };