diff options
Diffstat (limited to 'drivers/i2c/chips/pca9539.c')
-rw-r--r-- | drivers/i2c/chips/pca9539.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/chips/pca9539.c b/drivers/i2c/chips/pca9539.c index c5b052363d9a..1500b1842ce5 100644 --- a/drivers/i2c/chips/pca9539.c +++ b/drivers/i2c/chips/pca9539.c | |||
@@ -163,10 +163,8 @@ static int pca9539_detach_client(struct i2c_client *client) | |||
163 | { | 163 | { |
164 | int err; | 164 | int err; |
165 | 165 | ||
166 | if ((err = i2c_detach_client(client))) { | 166 | if ((err = i2c_detach_client(client))) |
167 | dev_err(&client->dev, "Client deregistration failed.\n"); | ||
168 | return err; | 167 | return err; |
169 | } | ||
170 | 168 | ||
171 | kfree(i2c_get_clientdata(client)); | 169 | kfree(i2c_get_clientdata(client)); |
172 | return 0; | 170 | return 0; |