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: 303261 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id AFC7F2C00A6 for ; Thu, 19 Dec 2013 20:08:18 +1100 (EST) 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 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, },