projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
gpio
/
gpio-adp5588.c
diff --git
a/drivers/gpio/gpio-adp5588.c
b/drivers/gpio/gpio-adp5588.c
index ef19bc33f2bd3845cdc46b396e2f2949b36e15df..3beed6ea8c6568fbd4d560e5dd2da8f6102ba167 100644
(file)
--- a/
drivers/gpio/gpio-adp5588.c
+++ b/
drivers/gpio/gpio-adp5588.c
@@
-470,11
+470,7
@@
static int adp5588_gpio_remove(struct i2c_client *client)
if (dev->irq_base)
free_irq(dev->client->irq, dev);
- ret = gpiochip_remove(&dev->gpio_chip);
- if (ret) {
- dev_err(&client->dev, "gpiochip_remove failed %d\n", ret);
- return ret;
- }
+ gpiochip_remove(&dev->gpio_chip);
kfree(dev);
return 0;