From patchwork Tue Feb 25 09:48:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3714271 Return-Path: X-Original-To: patchwork-linux-mmc@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 3E303BF40C for ; Tue, 25 Feb 2014 09:54:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 618FD2018E for ; Tue, 25 Feb 2014 09:54:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 846282016C for ; Tue, 25 Feb 2014 09:54:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbaBYJyY (ORCPT ); Tue, 25 Feb 2014 04:54:24 -0500 Received: from mail-pb0-f47.google.com ([209.85.160.47]:61259 "EHLO mail-pb0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbaBYJyX (ORCPT ); Tue, 25 Feb 2014 04:54:23 -0500 Received: by mail-pb0-f47.google.com with SMTP id up15so1367225pbc.20 for ; Tue, 25 Feb 2014 01:54:22 -0800 (PST) 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=iqLgrcogF/J3NftOeTdM4F71bcb9+6EJnxqDwoopcVc=; b=KeVYwoKtOxYDJ2TcBm4YNHdyB7wyvSMSI2nFGFDlfHkDyeYuB6srDx/j5KRaod/Z5s a8GCJxFLCnQblBEBo5cQ8Mx0wNRfrMz21ybRO1x3jKuaxu1aiL4wP+aRmN81YxttpS9S HfUNhDHnk8oW7dQjaLxwQDIZNPssVV4Y6csuOGHWONRGuon+Un8KWPRwV5p94AlWaRiJ VQbggk/q3IBW2NSqfeuf29gAFDQl61Gt+nKBQznYwXLqAFYtwS1a3fuLWSNa6MMjcNE/ 2ptRwosMbkia30K7GA7bVa4WwMwxaWRFt4t0hIsa6ks3CEWxHDBnP3O6AO56CNckiT1B B+2A== X-Gm-Message-State: ALoCoQkllp4Uedg7Qu/EdvPSkAztk1dGHh+hSz+zzn7aiprY2RmL7vBUmO6dmSuA3fBDUDaGkiOv X-Received: by 10.69.1.38 with SMTP id bd6mr5568784pbd.17.1393322062751; Tue, 25 Feb 2014 01:54:22 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id qq5sm8804447pbb.24.2014.02.25.01.54.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 01:54:22 -0800 (PST) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: ulf.hansson@linaro.org, chris@printf.net, sachin.kamat@linaro.org Subject: [PATCH 06/10] mmc: sdhci-dove: Remove redundant of_match_ptr Date: Tue, 25 Feb 2014 15:18:24 +0530 Message-Id: <1393321708-9719-6-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1393321708-9719-1-git-send-email-sachin.kamat@linaro.org> References: <1393321708-9719-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.9 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/mmc/host/sdhci-dove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c index 8424839660f8..736d7a2eb7ec 100644 --- a/drivers/mmc/host/sdhci-dove.c +++ b/drivers/mmc/host/sdhci-dove.c @@ -208,7 +208,7 @@ static struct platform_driver sdhci_dove_driver = { .name = "sdhci-dove", .owner = THIS_MODULE, .pm = SDHCI_PLTFM_PMOPS, - .of_match_table = of_match_ptr(sdhci_dove_of_match_table), + .of_match_table = sdhci_dove_of_match_table, }, .probe = sdhci_dove_probe, .remove = sdhci_dove_remove,