From patchwork Wed Oct 30 11:43:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3114341 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 94C99BF924 for ; Wed, 30 Oct 2013 11:46:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 771F620268 for ; Wed, 30 Oct 2013 11:46:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2DDD5201FB for ; Wed, 30 Oct 2013 11:46:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753772Ab3J3LpV (ORCPT ); Wed, 30 Oct 2013 07:45:21 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:63811 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753811Ab3J3LpT (ORCPT ); Wed, 30 Oct 2013 07:45:19 -0400 Received: by mail-pd0-f178.google.com with SMTP id x10so853945pdj.9 for ; Wed, 30 Oct 2013 04:45:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=opMcM+oLx5utY/+YvQxeZxC4ZQ9qrFK/gSyoMbEMV7Y=; b=GCkDZ05SUnx7A1U5a7ZnTs5g6GrLlVGO7o5MPRwx/QsTT8coOEb7O0MEPCxepRwn/F cl1fQugZvY79LwKzdo3L1rYaNYhebaKuFueBJwlScMWW2UokXx92/3QBAvpeVJkQDT3+ R49TX3kFDXxbU58QDSa2AXlYh3DhEfa20TDNT0JNFSKnWcz2OlxXPaaW+hL3nFUqjop5 j8T+X93izqAhzPZBegQnpOxfcYVuoi93CMzgliwFntOl1ZiwJlSWBbCvWCqim03gSafc t8SDvyP3kMxGd8rKy7Ib6OhR4Rg3V0DekNXnO8XImjIu9tYIfs0V1prnMtkeeyjN3f6G oc5w== X-Gm-Message-State: ALoCoQkGgMbvHcBZJkhXzx2FwS/UcYnd5xtxX3Czch/Ee1PFpUcBjEUMN16HvPh6gESpswjrhCNS X-Received: by 10.66.26.236 with SMTP id o12mr2695031pag.136.1383133519403; Wed, 30 Oct 2013 04:45:19 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xn12sm4294655pac.12.2013.10.30.04.45.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Oct 2013 04:45:18 -0700 (PDT) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: cjb@laptop.org, sachin.kamat@linaro.org Subject: [PATCH Resend 5/7] mmc: dw_mmc: Remove redundant of_match_ptr Date: Wed, 30 Oct 2013 17:13:48 +0530 Message-Id: <1383133430-22079-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1383133430-22079-1-git-send-email-sachin.kamat@linaro.org> References: <1383133430-22079-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 5c49656..2553bfb 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, }, };