From patchwork Sat Sep 28 12:28:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2957761 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BA2C7BFF0B for ; Sat, 28 Sep 2013 12:28:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 01D55201FE for ; Sat, 28 Sep 2013 12:28:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 389C320214 for ; Sat, 28 Sep 2013 12:28:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753585Ab3I1M2o (ORCPT ); Sat, 28 Sep 2013 08:28:44 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:50032 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754127Ab3I1M2d (ORCPT ); Sat, 28 Sep 2013 08:28:33 -0400 Received: by mail-pd0-f175.google.com with SMTP id q10so3687639pdj.6 for ; Sat, 28 Sep 2013 05:28:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+cbk8Cdpg1Ybyvvu5FrRiK7m2OzIxA1AwBzbEsCBvyU=; b=lKKbDpi4lP/486wlD0b4pny5BysLH/TrFyYYoHLvwIjX3nDbIJH9r115rlU+Ugvk8I iRhzdroSfK1XXsOj4MJP+w6a8X9GI50O7gvtwU48PkstosZGRQ9UQumoRZh77xkqYLFT ZAeFMWndf5v1wgkZt93Fitqxn3i4uQheyLFOlJg5EIcydZYfxTvHGfHtGeRPKheVAkT2 dlf41AyFGMM215DjdPGUhkcbxPgJsxOL8EWLnCAv6+L8com2ezkpK4hBMjKwKnuzTfMT J1Apx+gWO4uSUgm8l+BztGyAGGJrBttzwX/47wLvjmGSBoOc4/zBUgPqLOcBsz4hj4Fb fwRw== X-Gm-Message-State: ALoCoQnJ2ZAsLwcGk4R4kJMrsm4uI1u6VY0SvZafnlM4rERgPFTmQ9Q8XPngEZs5M16JFSZ5NR/r X-Received: by 10.66.218.98 with SMTP id pf2mr17279855pac.120.1380371313419; Sat, 28 Sep 2013 05:28:33 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ed3sm14833051pbc.6.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 05:28:32 -0700 (PDT) From: Sachin Kamat To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org Subject: [PATCH 6/6] Input: ti_am335x_tsc - Remove redundant of_match_ptr Date: Sat, 28 Sep 2013 17:58:14 +0530 Message-Id: <1380371294-10289-6-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380371294-10289-1-git-send-email-sachin.kamat@linaro.org> References: <1380371294-10289-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat --- drivers/input/touchscreen/ti_am335x_tsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c index 24e625c..14b7390 100644 --- a/drivers/input/touchscreen/ti_am335x_tsc.c +++ b/drivers/input/touchscreen/ti_am335x_tsc.c @@ -511,7 +511,7 @@ static struct platform_driver ti_tsc_driver = { .name = "TI-am335x-tsc", .owner = THIS_MODULE, .pm = TITSC_PM_OPS, - .of_match_table = of_match_ptr(ti_tsc_dt_ids), + .of_match_table = ti_tsc_dt_ids, }, }; module_platform_driver(ti_tsc_driver);