From patchwork Wed Jan 15 05:55:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 23216 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E50F4202FA for ; Wed, 15 Jan 2014 05:59:37 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id e14sf3991022iej.0 for ; Tue, 14 Jan 2014 21:59:37 -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=J5msbFEHErYm1V0nxpsgmDSaUrkVGDvm3KDbuekR8ic=; b=KMbUKmXN2KoOWO4uJBq884yMwsNXIqgyPftr7tn3u551htffggdDLTupGklZWBPlGC UzrbopyNTZZTeZhNwQu7MVd63+lSkZXImyTYstneoN1Sd3Fa3BLTNHjjb/zKckwVpXjF eWgYdtHgDBC7RK4KuVxHZCQUr+HBjfRwCBCbQ0/J9CX0kh2ykPeWheRx53gkHN4rDhGp iyRrMsgybW8xXWGPmZlHYuG9MQTCTK7/IpqtrsCHDxtbbxbPynbXHLTbb08+oNpcTJIz 29Ygc4Zjf1KT2FOhjsRy5IZo//mac6EhKUPrIanxgLgnT23zds0TpnO4OOzzx33cebKT X4JA== X-Gm-Message-State: ALoCoQlPNJsWLd4Y1RKA+I8yTZuwsCqC/1uGUg1LVRNTiJ1NRf+5aiX5BS3OFyKrgFOQYGdXwSHx X-Received: by 10.182.104.70 with SMTP id gc6mr86787obb.35.1389765577090; Tue, 14 Jan 2014 21:59:37 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.101.39 with SMTP id fd7ls497879qeb.16.gmail; Tue, 14 Jan 2014 21:59:37 -0800 (PST) X-Received: by 10.58.181.230 with SMTP id dz6mr39596vec.35.1389765576963; Tue, 14 Jan 2014 21:59:36 -0800 (PST) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id in16si1170676vec.80.2014.01.14.21.59.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 21:59:36 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.178 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.178; Received: by mail-ve0-f178.google.com with SMTP id oz11so245389veb.9 for ; Tue, 14 Jan 2014 21:59:36 -0800 (PST) X-Received: by 10.221.66.73 with SMTP id xp9mr152558vcb.27.1389765576888; Tue, 14 Jan 2014 21:59:36 -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 ey3csp251011ved; Tue, 14 Jan 2014 21:59:36 -0800 (PST) X-Received: by 10.66.43.135 with SMTP id w7mr309650pal.97.1389765575971; Tue, 14 Jan 2014 21:59:35 -0800 (PST) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by mx.google.com with ESMTPS id yd9si2619518pab.321.2014.01.14.21.59.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 21:59:35 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.174 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.174; Received: by mail-pd0-f174.google.com with SMTP id w10so667299pde.33 for ; Tue, 14 Jan 2014 21:59:35 -0800 (PST) X-Received: by 10.68.134.130 with SMTP id pk2mr257811pbb.167.1389765575583; Tue, 14 Jan 2014 21:59:35 -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.33 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 21:59:35 -0800 (PST) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: chris@printf.net, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 5/9] mmc: dw_mmc: Remove redundant of_match_ptr Date: Wed, 15 Jan 2014 11:25:09 +0530 Message-Id: <1389765313-16744-5-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.128.178 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 Acked-by: Jaehoon Chung Acked-by: Seungwon Jeon --- drivers/mmc/host/dw_mmc-pltfm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c index 5c4965655297..2553bfbfc6df 100644 --- a/drivers/mmc/host/dw_mmc-pltfm.c +++ b/drivers/mmc/host/dw_mmc-pltfm.c @@ -123,7 +123,7 @@ static struct platform_driver dw_mci_pltfm_driver = { .remove = dw_mci_pltfm_remove, .driver = { .name = "dw_mmc", - .of_match_table = of_match_ptr(dw_mci_pltfm_match), + .of_match_table = dw_mci_pltfm_match, .pm = &dw_mci_pltfm_pmops, }, };