Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26043
b: refs/heads/master
c: 0324680
h: refs/heads/master
i:
  26041: 40ff890
  26039: 426b683
v: v3
  • Loading branch information
Thayumanavar Sachithanantham authored and Linus Torvalds committed Apr 20, 2006
1 parent 7dfc5cf commit 28c79a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: c16c556e0e460a4e8c3f97ea0d50a1217f7fa449
refs/heads/master: 0324680064fd89d6ad52e89a4ccf16dec3ea3caa
5 changes: 3 additions & 2 deletions trunk/drivers/char/cs5535_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,10 @@ static int __init cs5535_gpio_init(void)
static void __exit cs5535_gpio_cleanup(void)
{
dev_t dev_id = MKDEV(major, 0);

cdev_del(&cs5535_gpio_cdev);
unregister_chrdev_region(dev_id, CS5535_GPIO_COUNT);
if (gpio_base != 0)
release_region(gpio_base, CS5535_GPIO_SIZE);
release_region(gpio_base, CS5535_GPIO_SIZE);
}

module_init(cs5535_gpio_init);
Expand Down

0 comments on commit 28c79a8

Please sign in to comment.