From patchwork Mon Nov 22 05:36:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 346881 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 oAM5W33Z016118 for ; Mon, 22 Nov 2010 05:32:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750792Ab0KVFcB (ORCPT ); Mon, 22 Nov 2010 00:32:01 -0500 Received: from mail-gy0-f174.google.com ([209.85.160.174]:44123 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768Ab0KVFcA (ORCPT ); Mon, 22 Nov 2010 00:32:00 -0500 Received: by gyb11 with SMTP id 11so1059497gyb.19 for ; Sun, 21 Nov 2010 21:32:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=TNI/X1ewqtT/z/yYEwOvw4AN218DB/N65skuPnCt+0E=; b=PW4tfx0B1UBuq5lKixvh4NsuPUuGemlzrM+bAxY4YIghL/fV8ZoWidbRJnQxVPt+y9 cDAGsgzUwDcz0qnMc2OVC6ElHAD1pUE3TXVPESm8zLCrOrCxO1j8Xn+SEoFmtlh4qAGV 0N9IBvFBrSN+wXPFlpwLfBqBF9KjG2Jvi9J9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=i2A9+qV69TxKBpPzA76RmHiNHkI6wj32hnsVqZ5WDUwPCz9GA6uuUzvC0pbNGPNufp td9U/oxUzFd5mvnzeHrd3pWLIkuxbN5QZUt7Eo+f3sP6+eUTETxAQqxc4VZXoK1rOVcG C1vu++zFmXwIHE5OLlPqn931S+L9a6UwGeDAE= Received: by 10.150.134.3 with SMTP id h3mr6586677ybd.89.1290403919691; Sun, 21 Nov 2010 21:31:59 -0800 (PST) Received: from [192.168.100.50] (60-251-136-127.HINET-IP.hinet.net [60.251.136.127]) by mx.google.com with ESMTPS id t4sm1749622ybe.13.2010.11.21.21.31.56 (version=SSLv3 cipher=RC4-MD5); Sun, 21 Nov 2010 21:31:59 -0800 (PST) Subject: [PATCH] Input: ams_delta_serio - fix wrong kfree in ams_delta_serio_exit From: Axel Lin To: linux-kernel Cc: Janusz Krzysztofik , Tony Lindgren , Dmitry Torokhov , linux-input@vger.kernel.org Date: Mon, 22 Nov 2010 13:36:58 +0800 Message-Id: <1290404218.6941.10.camel@mola> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 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]); Mon, 22 Nov 2010 05:32:04 +0000 (UTC) diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c index 8f1770e..ebe9553 100644 --- a/drivers/input/serio/ams_delta_serio.c +++ b/drivers/input/serio/ams_delta_serio.c @@ -172,6 +172,5 @@ static void __exit ams_delta_serio_exit(void) free_irq(OMAP_GPIO_IRQ(AMS_DELTA_GPIO_PIN_KEYBRD_CLK), 0); gpio_free(AMS_DELTA_GPIO_PIN_KEYBRD_CLK); gpio_free(AMS_DELTA_GPIO_PIN_KEYBRD_DATA); - kfree(ams_delta_serio); } module_exit(ams_delta_serio_exit);