]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hwmon/ams/ams.h
hwmon: (ams) Convert to a new-style i2c driver
[linux-2.6-omap-h63xx.git] / drivers / hwmon / ams / ams.h
index 221ef6915a5f74ec06a6ab4e7969f17ae3e90d4b..5ed387b0bd9aa08185e05bd790ac06976a8a7bed 100644 (file)
@@ -46,9 +46,7 @@ struct ams {
 
 #ifdef CONFIG_SENSORS_AMS_I2C
        /* I2C properties */
-       int i2c_bus;
-       int i2c_address;
-       struct i2c_client i2c_client;
+       struct i2c_client *i2c_client;
 #endif
 
        /* Joystick emulation */