From patchwork Mon Jul 8 06:11:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2824714 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BDD9E9F9CA for ; Mon, 8 Jul 2013 06:27:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DF43D20124 for ; Mon, 8 Jul 2013 06:27:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0EAB420121 for ; Mon, 8 Jul 2013 06:27:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753451Ab3GHG1c (ORCPT ); Mon, 8 Jul 2013 02:27:32 -0400 Received: from mail-pb0-f49.google.com ([209.85.160.49]:41102 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753381Ab3GHG1b (ORCPT ); Mon, 8 Jul 2013 02:27:31 -0400 Received: by mail-pb0-f49.google.com with SMTP id jt11so3922819pbb.36 for ; Sun, 07 Jul 2013 23:27:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=VK4K5ndXc7IMCwyYzy7EazbBWHIj6NKeAwqkMu0Ug9w=; b=E5Wm4inSwsBEpqp42wpSsglNX3RoejMS7WPUtY8L5UKYWVESwA0NlYnoXLFZM2fGi5 eNcyj618nLWCvMl5FMShUAycfspPjDC3b9xsDowBLKLsftRwl4wM4iNEWqfnd9CvHsh8 y00L7vty9fpSidYD/hB7aVzEG+r7aqW10SuEWSgwKPiOfxw9K8PO4VqUeynT2UQGyI4w ZGaQO/kIynzP/468LEmglq2kwX6vWca+2PpHlZfjA71QYkBTk4C0kf4PXksDLH0uSAgD OEu4U/kBak5z8OvgVu5v/Sg3JF7MGgH0Kw0b4fag2NWZRtr0Pwd2juqsbpNbWlbY2P+k 7Oqw== X-Received: by 10.66.150.9 with SMTP id ue9mr17648381pab.88.1373264851338; Sun, 07 Jul 2013 23:27:31 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id wr9sm20656445pbc.7.2013.07.07.23.27.28 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 07 Jul 2013 23:27:30 -0700 (PDT) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: csd@broadcom.com, cjb@laptop.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/3] mmc: sdhci-bcm-kona: Remove redundant use of_match_ptr Date: Mon, 8 Jul 2013 11:41:52 +0530 Message-Id: <1373263914-18050-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1373263914-18050-1-git-send-email-sachin.kamat@linaro.org> References: <1373263914-18050-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQnjuErwvudMGcHQxgRV1HuTMt55ftQ+MW53jggX9sptMJGhg9GQvBVpiEy7MUyfJLk7VyHs Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.2 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 sdhci_bcm_kona_of_match structure is always compiled in. Hence of_match_ptr macro is not necessary. Signed-off-by: Sachin Kamat Acked-by: Christian Daudt --- drivers/mmc/host/sdhci-bcm-kona.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c index bca6d55..d7a44ae 100644 --- a/drivers/mmc/host/sdhci-bcm-kona.c +++ b/drivers/mmc/host/sdhci-bcm-kona.c @@ -335,7 +335,7 @@ static struct platform_driver sdhci_bcm_kona_driver = { .name = "sdhci-kona", .owner = THIS_MODULE, .pm = SDHCI_PLTFM_PMOPS, - .of_match_table = of_match_ptr(sdhci_bcm_kona_of_match), + .of_match_table = sdhci_bcm_kona_of_match, }, .probe = sdhci_bcm_kona_probe, .remove = __exit_p(sdhci_bcm_kona_remove),