From patchwork Mon Sep 30 04:59:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2962551 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 56F1DBFF0C for ; Mon, 30 Sep 2013 04:59:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 997E220254 for ; Mon, 30 Sep 2013 04:59:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C075E20265 for ; Mon, 30 Sep 2013 04:59:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751051Ab3I3E7t (ORCPT ); Mon, 30 Sep 2013 00:59:49 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:38861 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750802Ab3I3E7s (ORCPT ); Mon, 30 Sep 2013 00:59:48 -0400 Received: by mail-pd0-f169.google.com with SMTP id r10so5173073pdi.28 for ; Sun, 29 Sep 2013 21:59:47 -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=rC8DfCRT+LuB7Q8d5a1RobCPhFwNQSXlrnu7y0JKm+E=; b=ZlQiHLbkWG2wT5eaiKD0X8wtpk5nakFi7oqXSC9pvi9sIXkFQDzWXFrzSbXlPIz8ZD wjt87GCy2Pwis2EsDCoUj77ilUD8X1fF3DWdEY54eroKVEJtHfMa1ubCVb50wq78uq3Y zTH6tTzMbO73X77l00LO0blUnBf37Tim2EpPtSF4wjxBfcZUyE/Z+Nu08qesFdftwDAm vrH/6Y1zNXVyRV91zxyk9M0HS6h+og6KEy1fvp6RFE1s9PzEpuLTcr9aHrswEkJtufvt kSJuEnKLnKYNugMJEqB655uTsAkEGVP3PF7hJYbMdHzrnT36VtmSgoCwxJSxFL3sarI1 mE2g== X-Gm-Message-State: ALoCoQktfyqZ5dYzigbOM2c1Sl7VRrl6NmHEHQ/9hRdc0muT5ReNxpctN7+wIfeXSeV9+sIcVt9U X-Received: by 10.66.157.165 with SMTP id wn5mr818760pab.169.1380517187512; Sun, 29 Sep 2013 21:59:47 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id bt1sm24150916pbb.2.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 29 Sep 2013 21:59:46 -0700 (PDT) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: cjb@laptop.org, tgih.jun@samsung.com, jh80.chung@samsung.com, sachin.kamat@linaro.org Subject: [PATCH 2/3] mmc: dw_mmc: Remove redundant of_match_ptr Date: Mon, 30 Sep 2013 10:29:32 +0530 Message-Id: <1380517173-10537-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380517173-10537-1-git-send-email-sachin.kamat@linaro.org> References: <1380517173-10537-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.5 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, }, };