Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250495
b: refs/heads/master
c: 60c8ba6
h: refs/heads/master
i:
  250493: e061b33
  250491: 590fc5e
  250487: b212f63
  250479: 5efebac
  250463: b3db08a
  250431: f60152c
  250367: e7aa425
v: v3
  • Loading branch information
Axel Lin authored and Dmitry Torokhov committed Apr 28, 2011
1 parent 73efc80 commit 768805a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 94bb530c247a29f75fc728e5f8374a83d59d7e45
refs/heads/master: 60c8ba6478bb483ecd6069f566d02e33d319e72e
6 changes: 3 additions & 3 deletions trunk/drivers/input/keyboard/omap-keypad.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ static int __devinit omap_kp_probe(struct platform_device *pdev)
return 0;
err5:
for (i = irq_idx - 1; i >=0; i--)
free_irq(row_gpios[i], NULL);
free_irq(row_gpios[i], omap_kp);
err4:
input_unregister_device(omap_kp->input);
input_dev = NULL;
Expand Down Expand Up @@ -444,11 +444,11 @@ static int __devexit omap_kp_remove(struct platform_device *pdev)
gpio_free(col_gpios[i]);
for (i = 0; i < omap_kp->rows; i++) {
gpio_free(row_gpios[i]);
free_irq(gpio_to_irq(row_gpios[i]), NULL);
free_irq(gpio_to_irq(row_gpios[i]), omap_kp);
}
} else {
omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT);
free_irq(omap_kp->irq, NULL);
free_irq(omap_kp->irq, omap_kp);
}

del_timer_sync(&omap_kp->timer);
Expand Down

0 comments on commit 768805a

Please sign in to comment.