From patchwork Thu Sep 2 09:20:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 148781 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 o829Gihf011233 for ; Thu, 2 Sep 2010 09:16:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751900Ab0IBJQn (ORCPT ); Thu, 2 Sep 2010 05:16:43 -0400 Received: from mail-gx0-f174.google.com ([209.85.161.174]:56581 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751677Ab0IBJQn (ORCPT ); Thu, 2 Sep 2010 05:16:43 -0400 Received: by gxk23 with SMTP id 23so96161gxk.19 for ; Thu, 02 Sep 2010 02:16:42 -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=kqY39VX8WSlYmBigYfgGC97iq5wfkUPJBIhvhTt0N7g=; b=ASwovW2Ru2hjb7EEXfb/1juYhmfqhhct/emuHNmQ8Lzpz/Pmetx/LS+WDAk24x5WH7 zyKnygo/TX/0TcT9w7BWvNgQS6YRje4nIDYZyA+1FJ1ugMMWL4Xt9E+8Ooz/6j/Q4PM+ 3TmqY3VmLNdsC0itbxlK/Hg2SgfjKP8j+dXBI= 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=ptShqNWx4KA53Mw9YQHO0NpWhUKf2e4uR91IrmDV7MdR9gANplYJ0CUOBVLTtvGFeC 2Uw4vBrlmT6hehURS1A3KpeS+P4Se/vg/9SNTj4omvP2IVSc8lgVWD5SK5phuqEInvUA jp86n6vYfdDz46fG17WcUjXpFS6/eu4IJJ32k= Received: by 10.101.154.15 with SMTP id g15mr9789212ano.222.1283419002203; Thu, 02 Sep 2010 02:16:42 -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 h5sm401280anb.8.2010.09.02.02.16.39 (version=SSLv3 cipher=RC4-MD5); Thu, 02 Sep 2010 02:16:41 -0700 (PDT) Subject: Input: tps6507x-ts - add missing platform_set_drvdata() in tps6507x_ts_probe() From: Axel Lin To: linux-kernel Cc: Todd Fischer , Dmitry Torokhov , linux-input@vger.kernel.org Date: Thu, 02 Sep 2010 17:20:41 +0800 Message-Id: <1283419241.19272.9.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 09:16:45 +0000 (UTC) diff --git a/drivers/input/touchscreen/tps6507x-ts.c b/drivers/input/touchscreen/tps6507x-ts.c index a644d18..7286209 100644 --- a/drivers/input/touchscreen/tps6507x-ts.c +++ b/drivers/input/touchscreen/tps6507x-ts.c @@ -335,6 +335,7 @@ static int tps6507x_ts_probe(struct platform_device *pdev) dev_err(tsc->dev, "schedule failed"); goto err2; } + platform_set_drvdata(pdev, tps6507x_dev); return 0;