aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pc87360.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pc87360.c')
-rw-r--r--drivers/hwmon/pc87360.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c
index 4041488de6f1..1f1b3ca23f6f 100644
--- a/drivers/hwmon/pc87360.c
+++ b/drivers/hwmon/pc87360.c
@@ -984,11 +984,8 @@ static int pc87360_detach_client(struct i2c_client *client)
984 984
985 hwmon_device_unregister(data->class_dev); 985 hwmon_device_unregister(data->class_dev);
986 986
987 if ((i = i2c_detach_client(client))) { 987 if ((i = i2c_detach_client(client)))
988 dev_err(&client->dev, "Client deregistration failed, "
989 "client not detached.\n");
990 return i; 988 return i;
991 }
992 989
993 for (i = 0; i < 3; i++) { 990 for (i = 0; i < 3; i++) {
994 if (data->address[i]) { 991 if (data->address[i]) {