From patchwork Wed Mar 22 19:05:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9639901 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0174F6020B for ; Wed, 22 Mar 2017 19:08:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D390E28452 for ; Wed, 22 Mar 2017 19:08:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C698C2846F; Wed, 22 Mar 2017 19:08:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_SORBS_SPAM, RCVD_IN_SORBS_WEB autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7A70D28452 for ; Wed, 22 Mar 2017 19:08:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=2JL9ra9zAbuEOpOP2X4XNCm5XyO9GNr2GUfCuxrS9GU=; b=lxQ SfAUR6ynENrpTPB0M5iUZiixOwDzRCHbpgJslptl5/xVmEDWc+AtDjrkztLo/A5mtMjinnKU/JN0e +notBkUJYhvlunfiRC4YLzhQlLd2MAQVJ532QH/324q74iG4c59tl1YbjxbuKigZxrMwCIAiahi/N Tpbh2gPqZSKar7xC/hXbNeHF99FVIGJpls55t0S3rUQTbAx2MmqrM5JUYZI8S+/zEN4idk3A+dyem d+JLHUL+oZ96mWjxU9SzMerLDrMvQ8mifDey8+cVFu4dfnAleUTi4WvWMARIFZHWsZingASoBt6Eh TEBDWNWDQz6tVDqeeOOufQ5HcKvTlew==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqlc9-00080F-DT; Wed, 22 Mar 2017 19:08:09 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqlc7-0007zi-3z for linux-arm-kernel@bombadil.infradead.org; Wed, 22 Mar 2017 19:08:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ox/0Etb/eQ/Ua7Di9R2QNEN/EelvDi0k2v5CAFpnBeQ=; b=YbFnyLgpsKQJCP6EBn99Rk0Ab 2tE3e7zXwCopwc6/xexmXuFjNuOS5RxVeKHUfqqMI+lxSw2o+vgci7/UdHSHEFW2hk1cChAysi9IS sdYXgyXHKksCU/P7ahoIiJyk4/B4TqDbsplHSy77BSxjDDeFm+3lrwmyXDKrlZWiBFVlkd3QvJ63u 8Cg6fY+MfPR9cOCMdu7l43wuZwrFLsq8BA+2aPB4S1YuVGwob6SaZ0jTlSBNEhck78sSEt/tKi/dD r4JTs3tjuEL8Li35OR7wXMqQEkuJ0/3rDHv+xlQN2pzRHlaRo1jvhFNVTwsKvmDQtRffZ5YzaQ363 7Ac/HN6Lw==; Received: from mail-pf0-f195.google.com ([209.85.192.195]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqlc4-0001sZ-JD for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 19:08:05 +0000 Received: by mail-pf0-f195.google.com with SMTP id o126so28235965pfb.1 for ; Wed, 22 Mar 2017 12:07:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ox/0Etb/eQ/Ua7Di9R2QNEN/EelvDi0k2v5CAFpnBeQ=; b=KmqmSCorvXn+F6Li0upHtj3e/TWE/gyPSjGRaH6zvMkG1XwWxvuqb2SMP4JnPsFXXO 0ILaLyXAKDw01+BcRfv62G4n2vkTVidF5GA5TPd5xkLQ2F22Z5lSr0iScjW9l/yeAN4r 8KHLoov6agaY6KSNdcBhqS3HGWPmh68Ky4KWp7q9S2ejXh5SJRC2ilBcxL/tN5hUBtnV m0nI+ovGOewH6Mc3CDIdMxFIZZzri3ftXbr/laU3SE6HrrEG+imb05PGDDnhVmtPe4s8 sz7Rmh1CztzqJ5gQc9sHU4UHZvdTkuQZegs1NC6i6ki1mYDM+fPjwrZKTZkeAbwMhk3K Iqkg== X-Gm-Message-State: AFeK/H31yuKEW6DkxlcI/GZC60IRhcRapnfPLwdeYygG8vNLpzvZRNReJK4HM5CDjKMOmA== X-Received: by 10.84.196.164 with SMTP id l33mr58042011pld.0.1490209657897; Wed, 22 Mar 2017 12:07:37 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.36]) by smtp.gmail.com with ESMTPSA id y70sm5423202pfa.96.2017.03.22.12.07.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 12:07:36 -0700 (PDT) From: Jagan Teki To: linux-input@vger.kernel.org Subject: [PATCH v8 1/3] Input: max11801_ts: Add missing of_match_table Date: Thu, 23 Mar 2017 00:35:16 +0530 Message-Id: <1490209518-20790-1-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_150804_702893_A2C8D30D X-CRM114-Status: GOOD ( 10.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matteo Lisi , Dmitry Torokhov , linux-kernel@vger.kernel.org, Jagan Teki , Michael Trimarchi , Shawn Guo , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jagan Teki Added missing of_match_table for max11801_ts driver with compatible as "maxim,max11801_ts" Cc: Dmitry Torokhov Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v8: - use the compatible as maxim,max11801 with remove suffix _ts since i2c node follow the same. Changes for v7: - newly added patch drivers/input/touchscreen/max11801_ts.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/input/touchscreen/max11801_ts.c b/drivers/input/touchscreen/max11801_ts.c index a595ae5..d3c7fc0 100644 --- a/drivers/input/touchscreen/max11801_ts.c +++ b/drivers/input/touchscreen/max11801_ts.c @@ -224,9 +224,16 @@ static int max11801_ts_probe(struct i2c_client *client, }; MODULE_DEVICE_TABLE(i2c, max11801_ts_id); +static const struct of_device_id max11801_ts_dt_ids[] = { + { .compatible = "maxim,max11801" }, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(of, max11801_ts_dt_ids); + static struct i2c_driver max11801_ts_driver = { .driver = { .name = "max11801_ts", + .of_match_table = max11801_ts_dt_ids, }, .id_table = max11801_ts_id, .probe = max11801_ts_probe,