aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-03 21:39:46 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-08-03 21:39:46 -0400
commit63870295de9adb365cd121dab94379b8cfdf986a (patch)
tree16c0b5288fa10f4f365f75d5c4fcad9c8a15e2c9 /drivers/input
parent459021fe3627083ea6678a7b29f9f74accf9c6fd (diff)
maple: Clean up maple_driver_register/unregister routines.
These were completely inconsistent. Clean these up to take a maple_driver pointer directly for consistency. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/maple_keyb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/keyboard/maple_keyb.c b/drivers/input/keyboard/maple_keyb.c
index 42f5d4ec39ab..3f5151a0fd15 100644
--- a/drivers/input/keyboard/maple_keyb.c
+++ b/drivers/input/keyboard/maple_keyb.c
@@ -235,17 +235,17 @@ static struct maple_driver dc_kbd_driver = {
235 .name = "Dreamcast_keyboard", 235 .name = "Dreamcast_keyboard",
236 .probe = probe_maple_kbd, 236 .probe = probe_maple_kbd,
237 .remove = remove_maple_kbd, 237 .remove = remove_maple_kbd,
238 }, 238 },
239}; 239};
240 240
241static int __init dc_kbd_init(void) 241static int __init dc_kbd_init(void)
242{ 242{
243 return maple_driver_register(&dc_kbd_driver.drv); 243 return maple_driver_register(&dc_kbd_driver);
244} 244}
245 245
246static void __exit dc_kbd_exit(void) 246static void __exit dc_kbd_exit(void)
247{ 247{
248 driver_unregister(&dc_kbd_driver.drv); 248 maple_driver_unregister(&dc_kbd_driver);
249} 249}
250 250
251module_init(dc_kbd_init); 251module_init(dc_kbd_init);