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: 25269 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4878420543 for ; Tue, 25 Feb 2014 09:54:36 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id to1sf472600ieb.11 for ; Tue, 25 Feb 2014 01:54:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=j8Pd46sDxdnp3q3LyNSUoqRaqUyHWIoGBhjDMD/2F8E=; b=H8qKRTNEGt5y9O5soO42TBxAmQkj1RnW7HvKTOEebFlBMoN1SOU9OzZgeIOkEKhgaj YzCaCEUz3A/VRJ32RUixt9FfIK5Yf0G7wwp82CUj6X1aAX6s756a1aFYSYaxgtAZx16m /cM2ABn1dtgu6PUxV3XuGIRbrnDFmrB6k9cAQYoblVOrZdaf5khWmbnnpz5KXq6nUMVt tfA/nHbR6lLLLGWb7Ux4CLkgmF1SK+KO11z6yzIiU0CoZx7qoGsUMsGI31IsIAXgXMZw fumYxMPri12UH20Emh8IoFKqvBimFE55YwZdW8AJhYZZiMwcQjOXtUwkF/vqn1sYwhjs ICpA== X-Gm-Message-State: ALoCoQnFQX+GuizmlZAnVLXqRRkO9Xs0arRYsC/+59Z0UeJlICeozl2gm8PW5koYYRb0QfpzoSpt X-Received: by 10.182.65.168 with SMTP id y8mr206025obs.38.1393322075725; Tue, 25 Feb 2014 01:54:35 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.26.195 with SMTP id 61ls2362789qgv.19.gmail; Tue, 25 Feb 2014 01:54:35 -0800 (PST) X-Received: by 10.52.101.135 with SMTP id fg7mr183521vdb.17.1393322075600; Tue, 25 Feb 2014 01:54:35 -0800 (PST) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id yx7si6681000vcb.50.2014.02.25.01.54.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 01:54:35 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hq11so7129031vcb.28 for ; Tue, 25 Feb 2014 01:54:35 -0800 (PST) X-Received: by 10.52.247.231 with SMTP id yh7mr241357vdc.34.1393322075533; Tue, 25 Feb 2014 01:54:35 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp125502vcz; Tue, 25 Feb 2014 01:54:35 -0800 (PST) X-Received: by 10.68.229.164 with SMTP id sr4mr5512647pbc.82.1393322066340; Tue, 25 Feb 2014 01:54:26 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xn1si3064032pbc.128.2014.02.25.01.54.25; Tue, 25 Feb 2014 01:54:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbaBYJyY (ORCPT + 7 others); 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-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: list List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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,