From patchwork Sat Sep 28 12:28:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2957741 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 3262EBFF0B for ; Sat, 28 Sep 2013 12:28:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7142B20345 for ; Sat, 28 Sep 2013 12:28:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6DFB20214 for ; Sat, 28 Sep 2013 12:28:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754064Ab3I1M2m (ORCPT ); Sat, 28 Sep 2013 08:28:42 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:65379 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754072Ab3I1M23 (ORCPT ); Sat, 28 Sep 2013 08:28:29 -0400 Received: by mail-pd0-f181.google.com with SMTP id g10so3720635pdj.12 for ; Sat, 28 Sep 2013 05:28:28 -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=aj5H9tQV/ddyPqyovNs+dpBRTwt93ecZJS6t7ymPDzo=; b=P2MHlwkLJZENFcGfBVtskbQS+B9LfG35Ju2F5hkYYxZQRq56bjmBV17pBO7OUVw4x7 yzbcKXjAJUs7sTJPF8cZ2T6RxWaEU6Es/rCv5qRQYeCDt36KGKg6CJTzZ5uALQlXhkRn i1bT6sl2mVx1qszqdKXTsKaiaAQrFlfD1OPVlDhvuiQkSCLNvEphRo3AWoNOX+YqMRLX HegKxECxGt8+hZAwMYer8cXHkKk/v6R5KK4pDc5hrZbdu1+yR6oZKRmKYFshby6ByEGq +Ic2e1b1EH5fH1sNKgzxosVkMtD0bcj4LVocGb2N5DMaXRR/YYegDINS0HDOmxWp1Xxl kHwg== X-Gm-Message-State: ALoCoQmSn9pzf3WdhQMQd6Xna81hZPZrdJVHx4s0ISo4mLbUfHXpz08qmLdJmiNPCfbltvx13LIo X-Received: by 10.68.88.161 with SMTP id bh1mr12915217pbb.49.1380371308800; Sat, 28 Sep 2013 05:28:28 -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:28 -0700 (PDT) From: Sachin Kamat To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org Subject: [PATCH 4/6] Input: sirfsoc-onkey - Remove redundant of_match_ptr Date: Sat, 28 Sep 2013 17:58:12 +0530 Message-Id: <1380371294-10289-4-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/misc/sirfsoc-onkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/sirfsoc-onkey.c b/drivers/input/misc/sirfsoc-onkey.c index 0621c36..7b8b03e 100644 --- a/drivers/input/misc/sirfsoc-onkey.c +++ b/drivers/input/misc/sirfsoc-onkey.c @@ -153,7 +153,7 @@ static struct platform_driver sirfsoc_pwrc_driver = { .name = "sirfsoc-pwrc", .owner = THIS_MODULE, .pm = &sirfsoc_pwrc_pm_ops, - .of_match_table = of_match_ptr(sirfsoc_pwrc_of_match), + .of_match_table = sirfsoc_pwrc_of_match, } };