Input: ct82c710 - remove a redundant serio_register_port()
authorAxel Lin <axel.lin@gmail.com>
Mon, 22 Nov 2010 06:27:13 +0000 (22:27 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Nov 2010 06:32:17 +0000 (22:32 -0800)
commitf09830ab15bfb7eb4e832e44189b5b5883309811
tree7ca36efaf3b50fcd1eeaf9d5a0c071c2d29c8df3
parentebcc019926269e7e123d55ec92ff00c2688ca343
Input: ct82c710 - remove a redundant serio_register_port()

We already call serio_register_port() in ct82c710_probe(),
thus remove a redundant serio_register_port() in ct82c710_init().

Looks like this bug is introduced by
916d83cfe5da1cda454d8b0ae233f06b58bd7f91
"Input: ct82c710 - convert to the new platform device interface"

[dtor@mail.ru: also move printk to where we register port]
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/ct82c710.c