diff options
Diffstat (limited to 'drivers/hwmon/tmp102.c')
-rw-r--r-- | drivers/hwmon/tmp102.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/tmp102.c b/drivers/hwmon/tmp102.c index b8777e54190a..b10c3d36ccbc 100644 --- a/drivers/hwmon/tmp102.c +++ b/drivers/hwmon/tmp102.c | |||
@@ -147,7 +147,7 @@ static const struct attribute_group tmp102_attr_group = { | |||
147 | #define TMP102_CONFIG (TMP102_CONF_TM | TMP102_CONF_EM | TMP102_CONF_CR1) | 147 | #define TMP102_CONFIG (TMP102_CONF_TM | TMP102_CONF_EM | TMP102_CONF_CR1) |
148 | #define TMP102_CONFIG_RD_ONLY (TMP102_CONF_R0 | TMP102_CONF_R1 | TMP102_CONF_AL) | 148 | #define TMP102_CONFIG_RD_ONLY (TMP102_CONF_R0 | TMP102_CONF_R1 | TMP102_CONF_AL) |
149 | 149 | ||
150 | static int __devinit tmp102_probe(struct i2c_client *client, | 150 | static int tmp102_probe(struct i2c_client *client, |
151 | const struct i2c_device_id *id) | 151 | const struct i2c_device_id *id) |
152 | { | 152 | { |
153 | struct tmp102 *tmp102; | 153 | struct tmp102 *tmp102; |
@@ -216,7 +216,7 @@ fail_restore_config: | |||
216 | return status; | 216 | return status; |
217 | } | 217 | } |
218 | 218 | ||
219 | static int __devexit tmp102_remove(struct i2c_client *client) | 219 | static int tmp102_remove(struct i2c_client *client) |
220 | { | 220 | { |
221 | struct tmp102 *tmp102 = i2c_get_clientdata(client); | 221 | struct tmp102 *tmp102 = i2c_get_clientdata(client); |
222 | 222 | ||
@@ -283,7 +283,7 @@ static struct i2c_driver tmp102_driver = { | |||
283 | .driver.name = DRIVER_NAME, | 283 | .driver.name = DRIVER_NAME, |
284 | .driver.pm = TMP102_DEV_PM_OPS, | 284 | .driver.pm = TMP102_DEV_PM_OPS, |
285 | .probe = tmp102_probe, | 285 | .probe = tmp102_probe, |
286 | .remove = __devexit_p(tmp102_remove), | 286 | .remove = tmp102_remove, |
287 | .id_table = tmp102_id, | 287 | .id_table = tmp102_id, |
288 | }; | 288 | }; |
289 | 289 | ||