Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131898
b: refs/heads/master
c: 5789813
h: refs/heads/master
v: v3
  • Loading branch information
Costantino Leandro authored and Greg Kroah-Hartman committed Feb 27, 2009
1 parent cfe551a commit 30c129b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 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: 096c55d1de39c0de526dfeb8a68ba3b0200e5a93
refs/heads/master: 5789813e73220a0bfd85a44bc565a6ae624e8745
23 changes: 12 additions & 11 deletions trunk/drivers/staging/panel/panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2164,19 +2164,20 @@ static void __exit panel_cleanup_module(void)
if (scan_timer.function != NULL)
del_timer(&scan_timer);

if (keypad_enabled)
misc_deregister(&keypad_dev);
if (pprt != NULL) {
if (keypad_enabled)
misc_deregister(&keypad_dev);

if (lcd_enabled) {
panel_lcd_print("\x0cLCD driver " PANEL_VERSION
"\nunloaded.\x1b[Lc\x1b[Lb\x1b[L-");
misc_deregister(&lcd_dev);
}

if (lcd_enabled) {
panel_lcd_print("\x0cLCD driver " PANEL_VERSION
"\nunloaded.\x1b[Lc\x1b[Lb\x1b[L-");
misc_deregister(&lcd_dev);
/* TODO: free all input signals */
parport_release(pprt);
parport_unregister_device(pprt);
}

/* TODO: free all input signals */

parport_release(pprt);
parport_unregister_device(pprt);
parport_unregister_driver(&panel_driver);
}

Expand Down

0 comments on commit 30c129b

Please sign in to comment.