Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198710
b: refs/heads/master
c: 48baa18
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Mack authored and Linus Torvalds committed May 27, 2010
1 parent 725e5c0 commit cafbbdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8081c84c9ce71ef73e591e19f1f7a516cb111e1c
refs/heads/master: 48baa18b250d5e36ed9f9bb04cdf812d74da08ca
5 changes: 4 additions & 1 deletion trunk/drivers/gpio/it8761e_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,10 @@ static int __init it8761e_gpio_init(void)
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;
Expand Down

0 comments on commit cafbbdb

Please sign in to comment.