From patchwork Thu Oct 7 15:19:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 238351 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o97FJitc003128 for ; Thu, 7 Oct 2010 15:20:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760671Ab0JGPUA (ORCPT ); Thu, 7 Oct 2010 11:20:00 -0400 Received: from mail-qy0-f174.google.com ([209.85.216.174]:56958 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754902Ab0JGPT7 (ORCPT ); Thu, 7 Oct 2010 11:19:59 -0400 Received: by qyk29 with SMTP id 29so181991qyk.19 for ; Thu, 07 Oct 2010 08:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=JvowLemy5679Ah9JRTbmpbOX5nwOrDecnlE3T7pjKi8=; b=ofpAD+ah4BfOoRyfa/RFJFxy0kzwUYm4qGEG7pU3esjObYanrIU3kX0tIXhjo3SdAL b3h00GfipcOr68sGDM8GigB6mR9h4VWOc3z2ENGCYC2sv+Vmthc3YsGBz9YCrfWy2h+q lx/LiFfulXavmnFVWCZ6QaM8ryUciXOUpM5FQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NHTTo2IykjIS2Mnvy4iLkKp9vxeKKh59vAynFRny2wT568mrEpAi+w9qFTua5ng3hk K3n0oQQuiVVKjaM5Jln3JmCnn5SeiiJMcA1pBrE2iQ5gmakqA6eoo8lxFCMgonios2AH H0YKVVm/l68DIEhRzDs5MNhYPfQqD7yA0Hjbo= MIME-Version: 1.0 Received: by 10.224.73.29 with SMTP id o29mr408896qaj.155.1286464798994; Thu, 07 Oct 2010 08:19:58 -0700 (PDT) Received: by 10.229.32.83 with HTTP; Thu, 7 Oct 2010 08:19:57 -0700 (PDT) In-Reply-To: <20100930062547.GF5260@core.coreip.homeip.net> References: <1285260285-660-1-git-send-email-dbaryshkov@gmail.com> <20100930062547.GF5260@core.coreip.homeip.net> Date: Thu, 7 Oct 2010 19:19:57 +0400 Message-ID: Subject: Re: [PATCH v3] serio: add support for PS2Mult multiplexer protocol From: Dmitry Eremin-Solenikov To: Dmitry Torokhov Cc: linux-input@vger.kernel.org Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 07 Oct 2010 15:20:00 +0000 (UTC) From f3307e6693e04285c5be6c9dcf3aabc091f47686 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov 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 --- drivers/input/serio/ps2mult.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/input/serio/ps2mult.c b/drivers/input/serio/ps2mult.c index 3664398..15341d1 100644 --- a/drivers/input/serio/ps2mult.c +++ b/drivers/input/serio/ps2mult.c @@ -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