git.openpandora.org
/
pandora-kernel.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/djbw/async_tx
[pandora-kernel.git]
/
drivers
/
gpio
/
it8761e_gpio.c
diff --git
a/drivers/gpio/it8761e_gpio.c
b/drivers/gpio/it8761e_gpio.c
index
41a9388
..
48fc43c
100644
(file)
--- a/
drivers/gpio/it8761e_gpio.c
+++ b/
drivers/gpio/it8761e_gpio.c
@@
-217,7
+217,10
@@
gpiochip_add_err:
static void __exit it8761e_gpio_exit(void)
{
if (gpio_ba) {
static void __exit it8761e_gpio_exit(void)
{
if (gpio_ba) {
- gpiochip_remove(&it8761e_gpio_chip);
+ int ret = gpiochip_remove(&it8761e_gpio_chip);
+
+ WARN(ret, "%s(): gpiochip_remove() failed, ret=%d\n",
+ __func__, ret);
release_region(gpio_ba, GPIO_IOSIZE);
gpio_ba = 0;
release_region(gpio_ba, GPIO_IOSIZE);
gpio_ba = 0;