]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/hwmon/adt7462.c
i2c: Drop I2C_CLIENT_INSMOD_1
[net-next-2.6.git] / drivers / hwmon / adt7462.c
index 325700428ef0bd46571c9764464a558a1ce7587b..a1a7ef14b519f68f80ae5c91f4169c2b5ff110fc 100644 (file)
@@ -32,9 +32,6 @@
 /* Addresses to scan */
 static const unsigned short normal_i2c[] = { 0x58, 0x5C, I2C_CLIENT_END };
 
-/* Insmod parameters */
-I2C_CLIENT_INSMOD_1(adt7462);
-
 /* ADT7462 registers */
 #define ADT7462_REG_DEVICE                     0x3D
 #define ADT7462_REG_VENDOR                     0x3E
@@ -242,7 +239,7 @@ static int adt7462_detect(struct i2c_client *client,
 static int adt7462_remove(struct i2c_client *client);
 
 static const struct i2c_device_id adt7462_id[] = {
-       { "adt7462", adt7462 },
+       { "adt7462", 0 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adt7462_id);