From patchwork Mon Oct 21 09:06:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3075701 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 A429BBF924 for ; Mon, 21 Oct 2013 09:07:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5374320429 for ; Mon, 21 Oct 2013 09:07:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 029DF20411 for ; Mon, 21 Oct 2013 09:07:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754865Ab3JUJHt (ORCPT ); Mon, 21 Oct 2013 05:07:49 -0400 Received: from mail-pb0-f48.google.com ([209.85.160.48]:45821 "EHLO mail-pb0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754676Ab3JUJHr (ORCPT ); Mon, 21 Oct 2013 05:07:47 -0400 Received: by mail-pb0-f48.google.com with SMTP id ma3so6634774pbc.7 for ; Mon, 21 Oct 2013 02:07:47 -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; bh=5kjfgelEdMa5gSzFDscTplHD6AeXJ3NjucYeLEuGzVM=; b=JQXgvbI19oXjzAsp6Owv5WBSxTRmKWJnX+X9WelRGI9G2vCKzHUcWeBPUQObflBGOn ThISzSycJa0/ZXzfNlfOjl4vq7Y9vAemziZmgpHL2X3/Mo4Tviuyym6i559kAPVHG6S7 uatNcwZ0AdXbTZAk4xPg+AyBqczaoX3zD03lO/eb0cO5ZZ8ie9DAJyA8IdgfkOqnlTOY LGKnqrqT1JG/I5hTqqdmXJBXw94li9vpO61BFNShmRP04T2jpCTnyV+sEryk18ge/DbC wYETessWg7UUGb1rln4gq8XHcMHv5qUmLa7Zdz76Q//PCj+847IBQb73Oog1/VVqGDsi Ek4w== X-Gm-Message-State: ALoCoQkIpgPYyf32SkBuj1nc96yc0tnk6xKmvRAxbNE2E+h4txW7hEj3FWLrvSIXOprgWsUjZjq7 X-Received: by 10.68.101.3 with SMTP id fc3mr16641848pbb.107.1382346467115; Mon, 21 Oct 2013 02:07:47 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xs1sm24175727pac.7.2013.10.21.02.07.45 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Oct 2013 02:07:46 -0700 (PDT) From: Sachin Kamat To: linux-pci@vger.kernel.org Cc: bhelgaas@google.com, sachin.kamat@linaro.org, Sean Cross Subject: [PATCH 1/3] PCI: imx6: Remove redeundant of_match_ptr Date: Mon, 21 Oct 2013 14:36:41 +0530 Message-Id: <1382346403-29576-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.3 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 imx6_pcie_of_match is always compiled in. Hence of_match_ptr is not required. Signed-off-by: Sachin Kamat Cc: Sean Cross Acked-by: Shawn Guo --- drivers/pci/host/pci-imx6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index 5afa922..64aaa8e 100644 --- a/drivers/pci/host/pci-imx6.c +++ b/drivers/pci/host/pci-imx6.c @@ -558,7 +558,7 @@ static struct platform_driver imx6_pcie_driver = { .driver = { .name = "imx6q-pcie", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(imx6_pcie_of_match), + .of_match_table = imx6_pcie_of_match, }, };