aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83781d.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/w83781d.c')
-rw-r--r--drivers/hwmon/w83781d.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c
index 70718559de75..66835c1e3f68 100644
--- a/drivers/hwmon/w83781d.c
+++ b/drivers/hwmon/w83781d.c
@@ -1299,11 +1299,8 @@ w83781d_detach_client(struct i2c_client *client)
1299 if (i2c_is_isa_client(client)) 1299 if (i2c_is_isa_client(client))
1300 release_region(client->addr, W83781D_EXTENT); 1300 release_region(client->addr, W83781D_EXTENT);
1301 1301
1302 if ((err = i2c_detach_client(client))) { 1302 if ((err = i2c_detach_client(client)))
1303 dev_err(&client->dev,
1304 "Client deregistration failed, client not detached.\n");
1305 return err; 1303 return err;
1306 }
1307 1304
1308 /* main client */ 1305 /* main client */
1309 if (data) 1306 if (data)