Commit a0ee2037 authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: gscps2 - fix probe() and remove() annotations

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 1def7afa
...@@ -326,7 +326,7 @@ static void gscps2_close(struct serio *port) ...@@ -326,7 +326,7 @@ static void gscps2_close(struct serio *port)
* @return: success/error report * @return: success/error report
*/ */
static int __init gscps2_probe(struct parisc_device *dev) static int __devinit gscps2_probe(struct parisc_device *dev)
{ {
struct gscps2port *ps2port; struct gscps2port *ps2port;
struct serio *serio; struct serio *serio;
...@@ -443,7 +443,7 @@ static struct parisc_driver parisc_ps2_driver = { ...@@ -443,7 +443,7 @@ static struct parisc_driver parisc_ps2_driver = {
.name = "gsc_ps2", .name = "gsc_ps2",
.id_table = gscps2_device_tbl, .id_table = gscps2_device_tbl,
.probe = gscps2_probe, .probe = gscps2_probe,
.remove = gscps2_remove, .remove = __devexit_p(gscps2_remove),
}; };
static int __init gscps2_init(void) static int __init gscps2_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment