From patchwork Wed Jan 15 05:55:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3490171 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 3A79B9F381 for ; Wed, 15 Jan 2014 05:59:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7BED520179 for ; Wed, 15 Jan 2014 05:59:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A33A4201F2 for ; Wed, 15 Jan 2014 05:59:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751388AbaAOF7j (ORCPT ); Wed, 15 Jan 2014 00:59:39 -0500 Received: from mail-pb0-f45.google.com ([209.85.160.45]:37257 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbaAOF7i (ORCPT ); Wed, 15 Jan 2014 00:59:38 -0500 Received: by mail-pb0-f45.google.com with SMTP id rp16so679599pbb.18 for ; Tue, 14 Jan 2014 21:59:38 -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=iqLgrcogF/J3NftOeTdM4F71bcb9+6EJnxqDwoopcVc=; b=IhxRjxxTTaR1Zepbl9xHfhUeQGlnW/4E+P2N13TgHogzlF7mx1g6OVXtEYO5lMdnkq dgL+MVpJYtv71PgAnQg5W5iVbVOlIcjoiAFoPn/f/oPpwdBhYGP/7/CoMjxedoN3+Mcy uTwkgn3J5dvffGCMpfTDAn0HcRNmk3J7CoaybZq864mSYK+O+AehC9pSCUy/2LIAmqEM XPtyiP6LlDq8CSeUnxMzz6a1tv9n0veu/kc7Jns3CFd2Nh9m8si9+JRKv+JCejoPNca7 bqiHZn6EI+oRDKk9ivDdVpZuLARpR0pSFYJ/y2lASJMy/JVxsRPG7J9id6BfRWwRWKeY hCBg== X-Gm-Message-State: ALoCoQnK5Yllf/hhUFCxhK9HJmsrjmNQzdvUPktSOOYieu5GF02//kF7AmZtONsMEecNDKT5b8N4 X-Received: by 10.66.142.170 with SMTP id rx10mr300193pab.117.1389765578226; Tue, 14 Jan 2014 21:59:38 -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.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 21:59:37 -0800 (PST) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: chris@printf.net, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 6/9] mmc: sdhci-dove: Remove redundant of_match_ptr Date: Wed, 15 Jan 2014 11:25:10 +0530 Message-Id: <1389765313-16744-6-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> 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.2 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 --- drivers/mmc/host/sdhci-dove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c index 8424839660f8..736d7a2eb7ec 100644 --- a/drivers/mmc/host/sdhci-dove.c +++ b/drivers/mmc/host/sdhci-dove.c @@ -208,7 +208,7 @@ static struct platform_driver sdhci_dove_driver = { .name = "sdhci-dove", .owner = THIS_MODULE, .pm = SDHCI_PLTFM_PMOPS, - .of_match_table = of_match_ptr(sdhci_dove_of_match_table), + .of_match_table = sdhci_dove_of_match_table, }, .probe = sdhci_dove_probe, .remove = sdhci_dove_remove,