Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3150319pxk; Mon, 5 Oct 2020 02:20:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKwOot2CSokYWstn0Dnj0ZnoWmUSR8Sxoqr2FfgRS2y2wwdXtAH6YnMuxqhAiplMEz90md X-Received: by 2002:a17:906:a387:: with SMTP id k7mr10274095ejz.167.1601889641005; Mon, 05 Oct 2020 02:20:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1601889641; cv=pass; d=google.com; s=arc-20160816; b=MbxK7sqY71qo6wrjQEEbDl79czZDz5wpPiHssCnssjDt8udYWOSTzCCsxgftCBCFPb W1MSx/Nyu1MQnjkhcC/e7K4/g9QBRq6QXWb69e+xSCPNPG8niK4zApkLA3ky5/LhSb68 AFFvT+Ll3pdsRMeHUpCRzT01RSF6W4J0Ma1ZCIVbY7eteGcQWBQ3bKg5agFkT9j7jkpd fO1aXmwr+j+tZErK1+94/fN8K0U+7TRxY0GTHIAyB+p6tuSczC1U4E5l5rp+DXfwye4R Vrvwxzkokdg4BI0wzyyZAu4OeI0pMhslkpwjWmhvjD+/vwK76ojhGz2FGIMn+tvS54wF sPgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ECZRctN+O108XAOkiGEksdZCMGTb5t6HY4e92TF/9fw=; b=z0G2gzZ2WK3WKDphl3kU7lpd/4W4hMwGTuf8A8J0TtvkutgiWBa7IG1zarUVfpl4n6 vhHrp7LvS7w8yvZdDX7AXcWGgYNPwPW1/tdyTMlHKZBdEzTtrBqXo8mrPwtlONIrz1R4 UFPqAIOqaWFv7duvObfq9QU87ubwgymf0UNEfghAsSR7ZjG2tnD36PxhdIud+MxsU4Od /ZMh+FTlAMkmRvjeGnuDHD15UnP8a0Cfxx2ulbYjvB+524YivZb+dpyt8/RPrsR+2SwF FdJtqrIPeqVFrMC39ArQhKndOZD/2NpTynU2+RoN5SAQ2EhgVKtao2ZJ8VA8rtsIape7 HsbQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=HtoOZOVY; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synaptics.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s7si6754734edi.576.2020.10.05.02.20.18; Mon, 05 Oct 2020 02:20:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=HtoOZOVY; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synaptics.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726096AbgJEJQu (ORCPT + 99 others); Mon, 5 Oct 2020 05:16:50 -0400 Received: from mail-eopbgr680081.outbound.protection.outlook.com ([40.107.68.81]:49939 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725891AbgJEJQu (ORCPT ); Mon, 5 Oct 2020 05:16:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OLe9DEwMcf5+bwqNTYeJJkGxl2Ntb8Fmn4oCIn/XOLeM8XN8PTDKDlYbuX3KFUB6K3zxesxmUqrrL/YxzAWR9pKtBuSIRPGGe2UyEukl6MqZKo7kexeenh59U454azPNC4NPk4W3eGLud2SYgiqOEFzly5vsIgNKPVMqn4+qDLU24jKBYTbNzFSjbXcjkN8BlejLnGL+UHogxsjOoEAuV1lSGGki8UiDjtVMxZvt2WTjJPrhmt1dhUdY5W1idATKTnCXsVAj6QCtzNN8oiSiRwA1xqHFMines+d5TMQNJsUnfaRQOpXa2mfIUXnmrdaEkWE+eA3Xawdc2LYAJD4hpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ECZRctN+O108XAOkiGEksdZCMGTb5t6HY4e92TF/9fw=; b=MaVEewFX00md8B0Iw09q+6x4Up9GJYMV7agqwXkZ5f3Zbva4sQ9Ofec1GOOYt9lyTYKbOxENWmIoOH9oQOrdoVwM22EN1qcE4gUDDsN6gnrnXRLVGNkd1gFjbV4kn7Vpfrh2XP7phYaSXLSJxYWpAT8Rag9rskPBS0C4rC4Jse+aeuNt9DQId+x5yr+xTYFwbuzYGAifXxWeMtfeF0wqwv5ek/2r/grviG595uGa8t52MAVKlTXdeWdcBOfvXg/7bL00gi0OjKNgwVlX7qrGMVxSdophlRT0Xdl0vKy+FAi+mGsfRreRWDW8hpJg4D5jQAdZ5YIGcscchjYgnkrOkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synaptics.com; dmarc=pass action=none header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ECZRctN+O108XAOkiGEksdZCMGTb5t6HY4e92TF/9fw=; b=HtoOZOVYiBjh+Cv6FRJnmKUiM+gwlHx1N+n04lTPHQuYV77pbmZL01z76RwTRMp+B48cU00BP5UuGj9xqY9rY9E73Kuk/fKvMN4YkWWoreR/V9BnT3SzSyrk0kLBTD4R1y3h6SWIrBKpwsWcraFyRPiVY6Xc6KA7z1r9Qdb3xNM= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=synaptics.com; Received: from DM6PR03MB4555.namprd03.prod.outlook.com (2603:10b6:5:102::17) by DS7PR03MB5560.namprd03.prod.outlook.com (2603:10b6:5:2d0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32; Mon, 5 Oct 2020 09:16:47 +0000 Received: from DM6PR03MB4555.namprd03.prod.outlook.com ([fe80::e494:740f:155:4a38]) by DM6PR03MB4555.namprd03.prod.outlook.com ([fe80::e494:740f:155:4a38%7]) with mapi id 15.20.3433.044; Mon, 5 Oct 2020 09:16:47 +0000 Date: Mon, 5 Oct 2020 17:03:43 +0800 From: Jisheng Zhang To: Richard Zhu , Lucas Stach , Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Jonathan Chocron , Jingoo Han , Gustavo Pimentel Cc: NXP Linux Team , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH dwc-next 3/3] PCI: dwc: imx6: Remove useless dw_pcie_ops Message-ID: <20201005170343.49ced6ac@xhacker.debian> In-Reply-To: <20201005165657.0fd31b10@xhacker.debian> References: <20201005165657.0fd31b10@xhacker.debian> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: [124.74.246.114] X-ClientProxiedBy: TYAPR01CA0070.jpnprd01.prod.outlook.com (2603:1096:404:2b::34) To DM6PR03MB4555.namprd03.prod.outlook.com (2603:10b6:5:102::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from xhacker.debian (124.74.246.114) by TYAPR01CA0070.jpnprd01.prod.outlook.com (2603:1096:404:2b::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Mon, 5 Oct 2020 09:16:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 240f642e-9721-4ffd-b548-08d8690f62e5 X-MS-TrafficTypeDiagnostic: DS7PR03MB5560: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1417; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2MwF9SBQ4SPZ8YeDebxA26X0YTxRGMZtJY1808S5yu6jV6J/DQqJl3PXie909pY/j1FcjggCPvUDCz0b6frj/lOg56nngUdsbaNXcFWkRcsCMaCMVTL/EnHOtu3fxteQuNIS1Bq4+kDQQIljlaVymI6ApS0cpF4o4PxmTcAawxMUJsgMl3ernFxKReKuJSZ0fgwC2sW5N4qNLJHps9KZLuc+kCtJvdWy3w7q1xxtB0WounMbwgLa6u2HmaI8d5yYfZOrAMeaok/xvXDLjw5Pf6Hs93FHiaXUnPbH3zkpYIo0SRhYzWv8AB/8/iSBK02d/Drh65+Pze3eXGsxxW6Om/UCr/8dwE3THvoyukbHwVZNMGe3IYh6vnIrexHPalIU X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR03MB4555.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(39850400004)(396003)(346002)(376002)(136003)(2906002)(8936002)(9686003)(16526019)(66946007)(66556008)(66476007)(186003)(26005)(8676002)(7416002)(55016002)(83380400001)(1076003)(5660300002)(478600001)(52116002)(7696005)(316002)(110136005)(6506007)(4326008)(956004)(86362001)(921003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: eqjjfcoqPiSq48ZEuFk1N2ZEKhGa5c3Zoue70FvbvH5wINNW8Vxff8ycHRYtAAVh+ZUH0KwE8zoEgbvUzumw7+q18vZ1QvzZM8b5kpXOvrmZufHp9G6sVsmyl/mL3uhwKrGXQLWsfM6sM47/HO+OrHnfUJ85KplC7byYTE7ZYeBvlN4vOLJ4Rb1cnfXLmq4Wwhoz1wBkFvhU3kc/refIRkZBMUSbjMEe/Fc80f1wMnsBEYAV3Hb1ekkxjOVlc5lAPi1ie19LpToqw02Gbuw9o7EZSCFLFeJVFj31N/BDhpIjbV5GGQHFSX4zaaeQ1ZMobMK8kG77QX31mpUHwTGschJ3CsM3yGlEV96vLG7y8t021G+gYpxfYEs7VfEIT9YQgfsTmO2vnQWSw2S+4rlHwVqXhxuw7geBTWubI+U0tB1a5kuBsZuQO0SQq7nUft6B4sIJN3tYHP4MyA/VS77ERl8zhPOorOylyruJPofOXuzf6Is46NEvk3L6d4a/bTl77Y+fL1qrdqPAEk4cuGdr0tjM/T15kTs+QOBolR8XCXyNy9JZAvfQyk5g+Wmi/sb2DErbwVu3hVBRKRvjLgGkf/zCrSTiSFfwWRUVQYw1OGaY89ZUq07Nsr78nH9PkHaPvPZxFeH8PragQNzuQLjyYw== X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 240f642e-9721-4ffd-b548-08d8690f62e5 X-MS-Exchange-CrossTenant-AuthSource: DM6PR03MB4555.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2020 09:16:47.9441 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Wnj0iiSFbxgMHk3C9vaxuruH0p4qo9UgTCwpW8d2oj1InqZhkBWKnkErVJuDXuPXuMnYV/4YTNCfza/Tr+6MBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR03MB5560 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We have removed the dw_pcie_ops always exists assumption in dwc core driver, we can remove the useless dw_pcie_ops now. Signed-off-by: Jisheng Zhang --- drivers/pci/controller/dwc/pci-imx6.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 337c74cbdfdb..72f8bc7d878c 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -870,10 +870,6 @@ static int imx6_add_pcie_port(struct imx6_pcie *imx6_pcie, return 0; } -static const struct dw_pcie_ops dw_pcie_ops = { - /* No special ops needed, but pcie-designware still expects this struct */ -}; - #ifdef CONFIG_PM_SLEEP static void imx6_pcie_ltssm_disable(struct device *dev) { @@ -1013,7 +1009,6 @@ static int imx6_pcie_probe(struct platform_device *pdev) return -ENOMEM; pci->dev = dev; - pci->ops = &dw_pcie_ops; imx6_pcie->pci = pci; imx6_pcie->drvdata = of_device_get_match_data(dev); -- 2.28.0