From f3307e6693e04285c5be6c9dcf3aabc091f47686 Mon Sep 17 00:00:00 2001
From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Date: Thu, 7 Oct 2010 18:32:26 +0400
Subject: [PATCH] ps2mult: don't try to register empty serio pointers
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
drivers/input/serio/ps2mult.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
@@ -196,9 +196,6 @@ static int ps2mult_connect(struct serio *serio, struct serio_driver *drv)
ps2mult_reset(psm);
- for (i = 0; i < PS2MULT_NUM_PORTS; i++)
- serio_register_port(psm->ports[i].serio);
-
return 0;
err_out:
--
1.7.1