From patchwork Thu Dec 19 09:04:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3375971 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 4CD7C9F384 for ; Thu, 19 Dec 2013 09:08:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B8C02062D for ; Thu, 19 Dec 2013 09:08:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6339120626 for ; Thu, 19 Dec 2013 09:08:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751494Ab3LSJIQ (ORCPT ); Thu, 19 Dec 2013 04:08:16 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:46246 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457Ab3LSJIM (ORCPT ); Thu, 19 Dec 2013 04:08:12 -0500 Received: by mail-pd0-f175.google.com with SMTP id w10so853491pde.6 for ; Thu, 19 Dec 2013 01:08:12 -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; bh=QRPFbQUaLAmpz7seTuOPY/qKVjXITVQtRqSZ/gPNyjo=; b=miOvxU3qsPZwO0sB5rdFhmjUzqpeg52vNeM4hICvywjvOgdf7Ntghbk8pW3Tto25/7 onuJtCOHIdEnj5M/QK63uMPigYKeyrYsxPZ8uQn/hBsoOLlJjIe3bC30qTsWlWeK7wdY QT4gklPIzgo897z/o35e4vCt2qLbubA4d5RXA2n615b+bLOnzd+xNceWio885P4jmrJq ObDTmQZp2wC64br0va48hnXA0HRatNhoLH5rkT0R91YWmAg105hz5IfqiEWuWSlbWPXl 8dskzAlnnDwPb2C/mT1NtuCytL3RtRJn1WtQcp33Kj3Z0y55jHG7ETx4w1dDrwDAHnKs XdlA== X-Gm-Message-State: ALoCoQmPxHK7wAo2qDX5dnv/dG8O4D4za3pnJN3oDW2UzmuMZMAacG4wgmLLhUWFFhS/dJBEnlLL X-Received: by 10.66.221.199 with SMTP id qg7mr382855pac.13.1387444091968; Thu, 19 Dec 2013 01:08:11 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id g6sm7439693pat.2.2013.12.19.01.08.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 01:08:11 -0800 (PST) From: Sachin Kamat To: linux-pci@vger.kernel.org Cc: jason@lakedaemon.net, bhelgaas@google.com, sachin.kamat@linaro.org, Thomas Petazzoni Subject: [PATCH Resend 1/1] PCI: mvebu: Remove redundant of_match_ptr Date: Thu, 19 Dec 2013 14:34:59 +0530 Message-Id: <1387443899-7149-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.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 mvebu_pcie_of_match_table is always compiled in. Hence of_match_ptr is not required. Signed-off-by: Sachin Kamat Cc: Thomas Petazzoni Acked-by: Thomas Petazzoni --- drivers/pci/host/pci-mvebu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index 533e0df02718..bedc0b1562b9 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -1012,8 +1012,7 @@ static struct platform_driver mvebu_pcie_driver = { .driver = { .owner = THIS_MODULE, .name = "mvebu-pcie", - .of_match_table = - of_match_ptr(mvebu_pcie_of_match_table), + .of_match_table = mvebu_pcie_of_match_table, /* driver unloading/unbinding currently not supported */ .suppress_bind_attrs = true, },