From patchwork Mon Sep 30 04:59: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: 2962561 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 74562BFF0B for ; Mon, 30 Sep 2013 04:59:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B7B2120254 for ; Mon, 30 Sep 2013 04:59:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E6A152026F for ; Mon, 30 Sep 2013 04:59:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751228Ab3I3E7v (ORCPT ); Mon, 30 Sep 2013 00:59:51 -0400 Received: from mail-pb0-f43.google.com ([209.85.160.43]:51446 "EHLO mail-pb0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750990Ab3I3E7u (ORCPT ); Mon, 30 Sep 2013 00:59:50 -0400 Received: by mail-pb0-f43.google.com with SMTP id md4so5046786pbc.30 for ; Sun, 29 Sep 2013 21:59:50 -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=hKt3j0+3MQf6IOsbqdpiRvnrPOKtFCr8vOTzQCa0C7U=; b=ixqzc3TrHYyL0tkQuCxc1DfJ6/MGri5/59y1BgWrPgfTWQ2hoFmgKJHUcW41NkhvS5 gxS3pPJi3BvcoSdgyIW8tM/O+2hmJGMMs6kj4GhYCOO5CFbOSt/TyYpkrlbWCuZb4k9t gE3A3EUyT2jbm0aExBDHrlBrLEUPQbu1BBBoOhmacCNT3lFAUyKJqkniAnAfVwvaHItf MZ+RjI4M4bd3fcghKKafHLjTenJgzQePSmYDHj9c0q5zRr/QgUutSbZ3JqETssx8u/cW yXn8VXmHYIb/J2oE6DaIb8QeKwmYW7LG4TEaKyReWBI7npmcJ6To++SELsAFhoHzyqYX A4cQ== X-Gm-Message-State: ALoCoQnHSBCplYZ7IOyR8xSR2fXaUS6uWBqCY5++3MSJpxT7Xiz+MXC38S2vP2NW/GTSM/8ZQ0UC X-Received: by 10.66.136.71 with SMTP id py7mr25823221pab.2.1380517190559; Sun, 29 Sep 2013 21:59:50 -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:50 -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 3/3] mmc: sdhci-dove: Remove redundant of_match_ptr Date: Mon, 30 Sep 2013 10:29:33 +0530 Message-Id: <1380517173-10537-3-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 --- 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 8424839..736d7a2 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,