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: 18278 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f200.google.com (mail-ye0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 20A7C25E26 for ; Mon, 8 Jul 2013 06:27:33 +0000 (UTC) Received: by mail-ye0-f200.google.com with SMTP id r9sf4704839yen.3 for ; Sun, 07 Jul 2013 23:27:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=VK4K5ndXc7IMCwyYzy7EazbBWHIj6NKeAwqkMu0Ug9w=; b=AAaCYhJ9u1xut7npQcUbDdI/K4F9smx8aHAAonDSL6NFKjsbUSvYzOcdfkY8mt8WmF t4/51seJx897Y/aefz+d4NYwk4K2UbXIehL/xeSryczZuYoxO8KGfGtGljdEV4KQPq8C E/V2bMEoJjFv9dWRteeRWX3LJlwdmGIGL7vqaiyDkAJOWJEa2QnT58Emrdp2WwUN+p31 fwAm5TfGPwZylRzK36O+ICIQmP2yNnTc0QH1XXFyjCjWvsolvv1lKGYB7HR7tZwVd5mv cjH8djQ6FM9idsS6CpE5FfzpmqzXMnQDgvJFBEGRftlH9wXIr3z4UGGbPSOoF94QxLKW hNuw== X-Received: by 10.224.129.196 with SMTP id p4mr23588544qas.6.1373264852840; Sun, 07 Jul 2013 23:27:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.39.3 with SMTP id l3ls1668824qek.62.gmail; Sun, 07 Jul 2013 23:27:32 -0700 (PDT) X-Received: by 10.220.251.3 with SMTP id mq3mr13104390vcb.20.1373264852762; Sun, 07 Jul 2013 23:27:32 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id sh10si5792353vcb.93.2013.07.07.23.27.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 07 Jul 2013 23:27:32 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id jz10so3230244veb.31 for ; Sun, 07 Jul 2013 23:27:32 -0700 (PDT) X-Received: by 10.52.178.227 with SMTP id db3mr6191125vdc.20.1373264852669; Sun, 07 Jul 2013 23:27:32 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.149.77 with SMTP id s13csp157157vcv; Sun, 7 Jul 2013 23:27:32 -0700 (PDT) X-Received: by 10.66.135.146 with SMTP id ps18mr18599413pab.172.1373264851736; Sun, 07 Jul 2013 23:27:31 -0700 (PDT) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx.google.com with ESMTPS id pl17si12293814pab.179.2013.07.07.23.27.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 07 Jul 2013 23:27:31 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.49 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.49; Received: by mail-pa0-f49.google.com with SMTP id ld11so3998658pab.36 for ; Sun, 07 Jul 2013 23:27:31 -0700 (PDT) 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: ALoCoQlrWxjbsgy829fMaQgAqaKRkcE/9x9/CIXkyTPJ3CMdTMm1bbMt5uJmpwVJFn0UYpL2sYZK X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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),