From patchwork Wed Oct 30 11:43:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3114311 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 518749F43F for ; Wed, 30 Oct 2013 11:46:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 35870201FB for ; Wed, 30 Oct 2013 11:46:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 83B0D202B8 for ; Wed, 30 Oct 2013 11:45:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752299Ab3J3Lpu (ORCPT ); Wed, 30 Oct 2013 07:45:50 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:43845 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752812Ab3J3LpX (ORCPT ); Wed, 30 Oct 2013 07:45:23 -0400 Received: by mail-pd0-f179.google.com with SMTP id y10so846083pdj.24 for ; Wed, 30 Oct 2013 04:45:22 -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=lJuTZMTVlepwnUWUoBSzwPZE4qscghf4iZGCM9/8VUo=; b=NhFs/ap6f4V51W791C5bQJI04yyRp29wphPPWX0p1nc+rHKqlG7rB2NVdstnRoBkVe IiRmKDioscNrYIf04ISTUfxRcDszZQwO7RkIm4Frn3rch0Pbh/WWFW4ajQypI5x2goff TyJciig8sWluFWLQdcsDYz/bqdVqJkj34DZnRjRzkxrkKnFrFpKo8VsOsPYENhTlhTWh 86eUbCzYWwrx9lvRyzbO2OFcm7GJ/3X0Ldj1L3/8ItHUMkgYAFei7CeGQVah/ACuoQIy sITevNcQ2ViBlArI1QwPmPYVqb4jlKsBCNo/nGLTs7FYZ+jjLe++8lckimMJCKWC7SLh j2DA== X-Gm-Message-State: ALoCoQkgDiJQacx7/2DERc/sXHDuZf+JzR8VHTn3fsK2JqJ/SJMqYnLuHr9YdElaf2YU3Ni812KR X-Received: by 10.66.186.204 with SMTP id fm12mr292503pac.189.1383133522070; Wed, 30 Oct 2013 04:45:22 -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.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Oct 2013 04:45:21 -0700 (PDT) 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: Wed, 30 Oct 2013 17:13:49 +0530 Message-Id: <1383133430-22079-6-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 --- 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 95f1076..fc59f96 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,