From patchwork Thu Dec 19 08:43:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3375741 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 958479F44E for ; Thu, 19 Dec 2013 08:47:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 93E422060E for ; Thu, 19 Dec 2013 08:47:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 80E982061D for ; Thu, 19 Dec 2013 08:47:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752314Ab3LSIrE (ORCPT ); Thu, 19 Dec 2013 03:47:04 -0500 Received: from mail-pa0-f51.google.com ([209.85.220.51]:50050 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813Ab3LSIrD (ORCPT ); Thu, 19 Dec 2013 03:47:03 -0500 Received: by mail-pa0-f51.google.com with SMTP id fa1so873100pad.38 for ; Thu, 19 Dec 2013 00:47:03 -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=THg7BiJJS4bwpgHm8pR0XCWyjoQ8rKqnf58NepfDtuYe3FChGyNFWgrXvB5OOyZzGj d473lIizCPXYEPM5Cp/Rit3FLyvwydLn736jn2ygr4D68ZnhzyHzTONtGcnia++8zVji fiIm05/DUQ/7xj3s/zrd08UmQQZmHenmfQ2A73EN2bmT8sznxNNoFKcTB9OaABy1vgST DzSOe26keEQMDNzgLNSI5LWgXLooQuP45VE74r/Nx4zjWOD9hIaqpFYa52Q7ZIcrFOX9 KVjcOrTABFnqDC3lzFnh+7zLVlMVYvtUSqto+HgUsAOfJYAaE6XKVSVL//UT304Xky9I R2OQ== X-Gm-Message-State: ALoCoQnGr6vjkkWKHzGciwjbluOgea9PF6FJSjooEUEaAwcdRPKQMBCR735brAuT0X5lj7Cwidwb X-Received: by 10.66.217.166 with SMTP id oz6mr404186pac.22.1387442823578; Thu, 19 Dec 2013 00:47:03 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id oc9sm5520341pbb.10.2013.12.19.00.47.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 00:47:03 -0800 (PST) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: cjb@laptop.org, sachin.kamat@linaro.org Subject: [PATCH Resend 6/7] mmc: sdhci-dove: Remove redundant of_match_ptr Date: Thu, 19 Dec 2013 14:13:33 +0530 Message-Id: <1387442614-4193-6-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 --- 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,