From patchwork Thu Sep 2 08:25:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 148661 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 o828Lmlm006068 for ; Thu, 2 Sep 2010 08:21:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751588Ab0IBIVW (ORCPT ); Thu, 2 Sep 2010 04:21:22 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:50837 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751091Ab0IBIVV (ORCPT ); Thu, 2 Sep 2010 04:21:21 -0400 Received: by ywh1 with SMTP id 1so78395ywh.19 for ; Thu, 02 Sep 2010 01:21:20 -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=0RwDWJfEIJiGxc5O/wl3jZLtMbnUcW2+nmHKLj/Zfx4=; b=QHM87kFVKHjy2XVfoT7E4ECbPIsoZjpgNIGkvYAW3HzzFhoBJ5+YgsuZT92GGqQzmY g5WGMWi2yFjFqo2qU8oe55GUXlyW6+XKUUHn3qyMa4dXn6sNWasR7WjrccyzGbQNBsyv Whdfkb05ahPEhUWjvKw+/gaMf0eUYKPPdCnw8= 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=LapDwCRCjmiNlfANWt1MNQALaZ5XgZURwllz02OyTXaxn1kkDGLax6aLKMgsYbtjGN nv4Hd2Gbs1QeVDzJKI71e6tFa9tGUbtZSMBQUj+6O1TWkSjMPly3jrR1Asa6x/R6gpj1 2Yo5nEJf2JnQofVOIupz9IaU8ZUi/FKKeZtPQ= Received: by 10.150.145.8 with SMTP id s8mr33007ybd.336.1283415680692; Thu, 02 Sep 2010 01:21:20 -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 w24sm1869005ybk.13.2010.09.02.01.21.16 (version=SSLv3 cipher=RC4-MD5); Thu, 02 Sep 2010 01:21:19 -0700 (PDT) Subject: [PATCH] Input: s3c2410_ts - fix s3c2410ts_probe error path From: Axel Lin To: linux-kernel Cc: Dmitry Torokhov , Ben Dooks , Arnaud Patard , Simtec Electronics , linux-input@vger.kernel.org Date: Thu, 02 Sep 2010 16:25:16 +0800 Message-Id: <1283415916.19272.1.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]); Thu, 02 Sep 2010 08:21:48 +0000 (UTC) diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c index 6085d12..8feb7f3 100644 --- a/drivers/input/touchscreen/s3c2410_ts.c +++ b/drivers/input/touchscreen/s3c2410_ts.c @@ -350,7 +350,7 @@ static int __devinit s3c2410ts_probe(struct platform_device *pdev) err_tcirq: free_irq(ts.irq_tc, ts.input); err_inputdev: - input_unregister_device(ts.input); + input_free_device(ts.input); err_iomap: iounmap(ts.io); err_clk: