diff options
Diffstat (limited to 'drivers/hwmon/pmbus/pmbus.c')
-rw-r--r-- | drivers/hwmon/pmbus/pmbus.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c index b94bec23d95c..34887408505b 100644 --- a/drivers/hwmon/pmbus/pmbus.c +++ b/drivers/hwmon/pmbus/pmbus.c | |||
@@ -178,12 +178,6 @@ static int pmbus_probe(struct i2c_client *client, | |||
178 | return pmbus_do_probe(client, id, info); | 178 | return pmbus_do_probe(client, id, info); |
179 | } | 179 | } |
180 | 180 | ||
181 | static int pmbus_remove(struct i2c_client *client) | ||
182 | { | ||
183 | pmbus_do_remove(client); | ||
184 | return 0; | ||
185 | } | ||
186 | |||
187 | /* | 181 | /* |
188 | * Use driver_data to set the number of pages supported by the chip. | 182 | * Use driver_data to set the number of pages supported by the chip. |
189 | */ | 183 | */ |
@@ -209,7 +203,7 @@ static struct i2c_driver pmbus_driver = { | |||
209 | .name = "pmbus", | 203 | .name = "pmbus", |
210 | }, | 204 | }, |
211 | .probe = pmbus_probe, | 205 | .probe = pmbus_probe, |
212 | .remove = pmbus_remove, | 206 | .remove = pmbus_do_remove, |
213 | .id_table = pmbus_id, | 207 | .id_table = pmbus_id, |
214 | }; | 208 | }; |
215 | 209 | ||