From patchwork Thu Dec 19 08:43: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: 3375731 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 906619F344 for ; Thu, 19 Dec 2013 08:47:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 808682060F for ; Thu, 19 Dec 2013 08:47:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 04E9B2060E for ; Thu, 19 Dec 2013 08:47:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752129Ab3LSIrC (ORCPT ); Thu, 19 Dec 2013 03:47:02 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:38194 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813Ab3LSIrB (ORCPT ); Thu, 19 Dec 2013 03:47:01 -0500 Received: by mail-pa0-f46.google.com with SMTP id kl14so875785pab.33 for ; Thu, 19 Dec 2013 00:47:01 -0800 (PST) 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=J5msbFEHErYm1V0nxpsgmDSaUrkVGDvm3KDbuekR8ic=; b=ZhH6IPUMta6OQVGZWg6TMuTzw/dJPT0PN9gMxN+sMGIhghdcGm9+DYkPROpO+/v2m0 KfTsNhJpP1UOsBaPfMCMbEWDf2pzfbGhACAjzCJ0GWTqlUp68sjcQOTuTdRjUcgr44/4 nZFdM9d2uAfMkRs9IXwXVj2EM3yLx7rfhyPQOFo8IM7MOQk2IYczFjoOfXPk/ccnBglQ v2Or7TpJt3a+O5ZTP144WL4a0SZuh1JtoOZmzb6jtGlczcjn6WCUdq+agcTz+k7k3tDi B9HB5LXs2TkHhhqZqbhabGwMeGg7GIVRn+OPwolrXZYgmzzmZdUz70wxJpeGBhlTYfnO 5T+g== X-Gm-Message-State: ALoCoQmuKcCTONOuHKphuqQb3jPszbkJT8z3cnVXS2WKzBU3eq15GmksqbBEOkUqBf5H0KntKjy2 X-Received: by 10.68.245.200 with SMTP id xq8mr278369pbc.21.1387442821239; Thu, 19 Dec 2013 00:47:01 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id oc9sm5520341pbb.10.2013.12.19.00.46.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 00:47:00 -0800 (PST) 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: Thu, 19 Dec 2013 14:13:32 +0530 Message-Id: <1387442614-4193-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1387442614-4193-1-git-send-email-sachin.kamat@linaro.org> References: <1387442614-4193-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 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, }, };