From patchwork Fri Sep 3 01:30:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 151801 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 o831RAM4031645 for ; Fri, 3 Sep 2010 01:27:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751365Ab0ICB0t (ORCPT ); Thu, 2 Sep 2010 21:26:49 -0400 Received: from mail-gx0-f174.google.com ([209.85.161.174]:61669 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751281Ab0ICB0s (ORCPT ); Thu, 2 Sep 2010 21:26:48 -0400 Received: by gxk23 with SMTP id 23so494281gxk.19 for ; Thu, 02 Sep 2010 18:26:47 -0700 (PDT) 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=ImSzeskly7Q0x5T/AEzhv0aHQAXezzTCZVjrZ8W1IH4=; b=wYBCbHNIxPFhPxXzMJkZLGjEtKn6qh+3sHB+PJ3RUDrTEdGCJMY284oWid+hdXtjZK LNjlMxIUwAQcOrcy2yYTBd2hG+6M5Kwphm7rLfTj5Msb/Q+eR5XxxfAGDYl8r9t7cPen XiN0wKfq91YOCyKB5tPCUHJuOHHkjpqrQ2kik= 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=kntagEJUkrN7Pvc5lENGD3uRe5H1gb7Y+q5OXkAq83bxZoA50HydyhLSGkMbj0fjeQ MRiDbvhmsUaHYRsEgscoFXTfLzP/ShAwDlzOR/xvYQCmfM8K2vmrhYfKodyXIqnDebnB GWwW+73w1CAYgD2TCnILv1xeMohJ+dViXc7a4= Received: by 10.150.135.5 with SMTP id i5mr426141ybd.129.1283477207661; Thu, 02 Sep 2010 18:26:47 -0700 (PDT) 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 x3sm2779606ybl.22.2010.09.02.18.26.45 (version=SSLv3 cipher=RC4-MD5); Thu, 02 Sep 2010 18:26:47 -0700 (PDT) Subject: [PATCH 1/2] Input: stmpe-ts - remove input_free_device() in stmpe_ts_remove() From: Axel Lin To: linux-kernel Cc: Luotao Fu , Dmitry Torokhov , linux-input@vger.kernel.org Date: Fri, 03 Sep 2010 09:30:51 +0800 Message-Id: <1283477451.5439.6.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]); Fri, 03 Sep 2010 01:27:11 +0000 (UTC) diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c index 656148e..0339d1d 100644 --- a/drivers/input/touchscreen/stmpe-ts.c +++ b/drivers/input/touchscreen/stmpe-ts.c @@ -361,7 +361,6 @@ static int __devexit stmpe_ts_remove(struct platform_device *pdev) platform_set_drvdata(pdev, NULL); input_unregister_device(ts->idev); - input_free_device(ts->idev); kfree(ts);