From patchwork Sun Oct 24 15:09:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Kaiser X-Patchwork-Id: 265622 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 o9OFAhdd005477 for ; Sun, 24 Oct 2010 15:10:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932387Ab0JXPKn (ORCPT ); Sun, 24 Oct 2010 11:10:43 -0400 Received: from webhosting01.bon.m2soft.com ([195.38.20.32]:37423 "EHLO webhosting01.bon.m2soft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932085Ab0JXPKm (ORCPT ); Sun, 24 Oct 2010 11:10:42 -0400 Received: from absol.kitzblitz (91-118-62-119.dynamic.adsl-line.inode.at [91.118.62.119]) (authenticated bits=0) by webhosting01.bon.m2soft.com (8.13.8/8.13.8) with ESMTP id o9OExlFa018015; Sun, 24 Oct 2010 16:59:47 +0200 Date: Sun, 24 Oct 2010 17:09:19 +0200 From: Nicolas Kaiser To: Dmitry Torokhov Cc: Sundar Iyer , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers/input: ab8500-ponkey: fix error path Message-ID: <20101024170919.18cf4372@absol.kitzblitz> Organization: - X-Face: "fF&[w2"Nws:JNH4'g|:gVhgGKLhj|X}}&w&V?]0=, 7n`jy8D6e[Jh=7+ca|4~t5e[ItpL5 N'y~Mvi-vJm`"1T5fi1^b!&EG]6nW~C!FN},=$G?^U2t~n[3;u\"5-|~H{-5]IQ2 X-Mailer: Claws Mail (Linux) Mime-Version: 1.0 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]); Sun, 24 Oct 2010 15:10:45 +0000 (UTC) diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c index 98f8ede..3d3288a 100644 --- a/drivers/input/misc/ab8500-ponkey.c +++ b/drivers/input/misc/ab8500-ponkey.c @@ -107,7 +107,7 @@ static int __devinit ab8500_ponkey_probe(struct platform_device *pdev) return 0; err_free_dbr_irq: - free_irq(ponkey->irq_dbf, ponkey); + free_irq(ponkey->irq_dbr, ponkey); err_free_dbf_irq: free_irq(ponkey->irq_dbf, ponkey); err_free_mem: