From patchwork Mon Oct 21 09:06:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3075711 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 2408CBF924 for ; Mon, 21 Oct 2013 09:08:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8A9FA2042A for ; Mon, 21 Oct 2013 09:07:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5359C2041B for ; Mon, 21 Oct 2013 09:07:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754867Ab3JUJHu (ORCPT ); Mon, 21 Oct 2013 05:07:50 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:47030 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754676Ab3JUJHt (ORCPT ); Mon, 21 Oct 2013 05:07:49 -0400 Received: by mail-pa0-f50.google.com with SMTP id fa1so7601374pad.23 for ; Mon, 21 Oct 2013 02:07:49 -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=Ns8fekwNjXMGAY85OUFNX7HcHX8XH6aqxWTdALikLjE=; b=ZT7tuAuYyfhU6iU9174fXSNu4rqYQBxM9EnWD8CG1B5QRbC0pbrW06zYVxesT+r6Tt mtQsAP3o+cJpqPCiH21p+5PS/VKlO/eczejQYohpx9eNXslFSLil/vgEYEwau1gysmxz eXIiljJYHWcvfG6p0FdMbtkcFAqf1Nqwb6XWaYghrI5/gug9GK9qNGaWeEsjkz3/pOmQ aEtbROhjausUrY4YIUb6hRYT2r8dprFIXT7DaFz73X+VYJ6vH+E8LAMiXG2eeyM8am9f pXDv5BLDrLfAWzRF1r/h+lwW0xpycy9uwl+/IhdHtcYq0JHrvkqIw4jCaX9oPS0xpKyj ARMw== X-Gm-Message-State: ALoCoQnqQr0DdXI2UYziv2bJZn6l3RwVgbZRPxRA2hHm0yUEWRk3YJxUgBlqNoa3ZnZHkJnnFnr7 X-Received: by 10.66.118.233 with SMTP id kp9mr788838pab.182.1382346469205; Mon, 21 Oct 2013 02:07:49 -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.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Oct 2013 02:07:48 -0700 (PDT) From: Sachin Kamat To: linux-pci@vger.kernel.org Cc: bhelgaas@google.com, sachin.kamat@linaro.org, Thomas Petazzoni Subject: [PATCH 2/3] PCI: mvebu: Remove redeundant of_match_ptr Date: Mon, 21 Oct 2013 14:36:42 +0530 Message-Id: <1382346403-29576-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1382346403-29576-1-git-send-email-sachin.kamat@linaro.org> References: <1382346403-29576-1-git-send-email-sachin.kamat@linaro.org> 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=unavailable 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 --- 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 20c470c..7adae6e 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -1016,8 +1016,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, },