From patchwork Wed Jan 15 05:55:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 23217 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AA65C202FA for ; Wed, 15 Jan 2014 05:59:40 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id a41sf2234978yho.0 for ; Tue, 14 Jan 2014 21:59:39 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=iqLgrcogF/J3NftOeTdM4F71bcb9+6EJnxqDwoopcVc=; b=FD5LwewTH8rdaiTLqxBMS1IFQvV4WF6JtZpOdSfqfgppoap40SlXAM9m+T9ZAY6OWi KhWNPZ03J6rP1dxV7dsf6mBuf5mtYvcXb2nVZ9IvfzghppMK2X6He+60qfRd0IrU08VD e9dcljQ4dndb08SAtoTOAD0ISaf0GUPSLVQbEoh/zu5xEGaJitYwPK/Nv5seqPXRiiyL vOSDXJD/lUZDue1ARoborbGN6vIWEw3xos7iJMTz/kPpKRlU5zu2Ldjunn7o9wYI8m3g c7+yE5BrVcKx1SWFBQh9jF3nYAxYfb0ux1L01ijMcUNDoSepQb2FvSV2eEfmzSf+8rNo c0sg== X-Gm-Message-State: ALoCoQk26f1JGX3yUVE0kfOe7WBbNH6RxcevKsbScOuTbztIBEmcVYpgTvwqOhjKpSFYWbr5qWW3 X-Received: by 10.58.242.70 with SMTP id wo6mr234752vec.16.1389765579860; Tue, 14 Jan 2014 21:59:39 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.142 with SMTP id v14ls435980qeu.35.gmail; Tue, 14 Jan 2014 21:59:39 -0800 (PST) X-Received: by 10.221.37.200 with SMTP id tf8mr181501vcb.54.1389765579787; Tue, 14 Jan 2014 21:59:39 -0800 (PST) Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) by mx.google.com with ESMTPS id n10si1182955vcf.3.2014.01.14.21.59.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 21:59:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.48 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.48; Received: by mail-vb0-f48.google.com with SMTP id q16so233783vbe.35 for ; Tue, 14 Jan 2014 21:59:39 -0800 (PST) X-Received: by 10.58.90.202 with SMTP id by10mr368923veb.6.1389765579715; Tue, 14 Jan 2014 21:59:39 -0800 (PST) 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.59.13.131 with SMTP id ey3csp251014ved; Tue, 14 Jan 2014 21:59:39 -0800 (PST) X-Received: by 10.66.164.70 with SMTP id yo6mr324914pab.85.1389765578874; Tue, 14 Jan 2014 21:59:38 -0800 (PST) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by mx.google.com with ESMTPS id sz7si2625728pab.290.2014.01.14.21.59.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 21:59:38 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.178; Received: by mail-pd0-f178.google.com with SMTP id y13so664539pdi.37 for ; Tue, 14 Jan 2014 21:59:38 -0800 (PST) X-Received: by 10.66.142.170 with SMTP id rx10mr300193pab.117.1389765578226; Tue, 14 Jan 2014 21:59:38 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id kk1sm5423001pbd.22.2014.01.14.21.59.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 21:59:37 -0800 (PST) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: chris@printf.net, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 6/9] mmc: sdhci-dove: Remove redundant of_match_ptr Date: Wed, 15 Jan 2014 11:25:10 +0530 Message-Id: <1389765313-16744-6-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1389765313-16744-1-git-send-email-sachin.kamat@linaro.org> References: <1389765313-16744-1-git-send-email-sachin.kamat@linaro.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.212.48 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: , 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,