From patchwork Tue Feb 25 09:48:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 25267 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5CE6720543 for ; Tue, 25 Feb 2014 09:54:35 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id oz11sf284796veb.0 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=k0ZbfKOvphQS6z+nqKjzBEPTDAPG9ta1vi3/rNOhOL0=; b=mmpRwfZsK15PK62fUW2DLXrEg2smB1931jY66H0QzCCA6+KSt9qwM7S1aG9EJDEHui XVBpkfQ6ZkJvRiL9tqRzsKyD3ITiK3XsDt7pGdPOh5wD0Id8+i1mkMM4WNgA0yCy5jwB pw4sME4BqUO11FXuxDU2wv+z/smKLyminJvK7FUal+GCXp/eA3dM2phdVyk23Gqrh0HT B211k/tdP3T0ZFzJpHwdAFzOEzNUcqf/1yrcNjfEfHBDVK7m+Y3GlFuUok/B+qDNfcjC CLs5VyAzoRYiKMVT+bTNB0oBR4ofnaYOMjhGXGv5Oli+bnr68KfffM7Deg7+X5E2T6SE 9GJA== X-Gm-Message-State: ALoCoQn+shMK7UJTUZM7sj8TZl7pQSKpGCWyrIx/W6AtP+EEBzYtcsjZguzZ+h/RGzFlwyxEpkQv X-Received: by 10.58.170.6 with SMTP id ai6mr198657vec.7.1393322075063; Tue, 25 Feb 2014 01:54:35 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.235 with SMTP id l98ls2188523qgl.90.gmail; Tue, 25 Feb 2014 01:54:34 -0800 (PST) X-Received: by 10.220.175.198 with SMTP id bb6mr48971vcb.31.1393322074977; Tue, 25 Feb 2014 01:54:34 -0800 (PST) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id yj2si6672186veb.123.2014.02.25.01.54.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 01:54:34 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.182 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.182; Received: by mail-vc0-f182.google.com with SMTP id id10so6941218vcb.41 for ; Tue, 25 Feb 2014 01:54:34 -0800 (PST) X-Received: by 10.52.166.103 with SMTP id zf7mr254586vdb.30.1393322074912; Tue, 25 Feb 2014 01:54:34 -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 u4csp125501vcz; Tue, 25 Feb 2014 01:54:34 -0800 (PST) X-Received: by 10.68.224.195 with SMTP id re3mr5422994pbc.93.1393322064501; Tue, 25 Feb 2014 01:54:24 -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.23; Tue, 25 Feb 2014 01:54:23 -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 S1751611AbaBYJyW (ORCPT + 7 others); Tue, 25 Feb 2014 04:54:22 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:58673 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbaBYJyV (ORCPT ); Tue, 25 Feb 2014 04:54:21 -0500 Received: by mail-pa0-f43.google.com with SMTP id rd3so7877202pab.2 for ; Tue, 25 Feb 2014 01:54:21 -0800 (PST) X-Received: by 10.68.7.66 with SMTP id h2mr5321438pba.91.1393322060176; Tue, 25 Feb 2014 01:54:20 -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.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 01:54:19 -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 05/10] mmc: dw_mmc: Remove redundant of_match_ptr Date: Tue, 25 Feb 2014 15:18:23 +0530 Message-Id: <1393321708-9719-5-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.182 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 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, }, };