From patchwork Wed Oct 17 07:41:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 149030 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp327572lji; Wed, 17 Oct 2018 00:42:26 -0700 (PDT) X-Google-Smtp-Source: ACcGV62ERtU40ZPZ1m+77THlcDvRUYMMHmsQk/VyN/JdC/JRpnp/JZkYv7CVHR4dGbNOa1AqZkM1 X-Received: by 2002:a17:902:6bc1:: with SMTP id m1-v6mr522937plt.274.1539762146523; Wed, 17 Oct 2018 00:42:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539762146; cv=none; d=google.com; s=arc-20160816; b=BuYczashecqERX9en+LsPwKGwDVOkAWmux2qEvc/N4iEJ5odYZpt2M0UfWhYQa9lO2 aahY2yxMBYjK3zAyHShHeLOe5xKwWD43AeO4nmGt/94B9J3jTa7aYJ/YO/GMPN0x+Fho DzH4B0Y8rA11KxIdJbXgnrB2JTOu5SmZw/hzZ28w1Zwe+FOeQAQlj/LfmP33hVovziNl DbyJq+fkOiAVila6w6Lo6rd9bXN1s0kR7D4WkWboZHvU4GBSD3XDLEl7ZtdH71j2iDH/ 7WsHo+smPo/ffb8fRej2jOFIJcGVsDfIovKLDCATkP4J4ieaLD0jbxCv7QUhS6pEhAQv IXpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=A3B7m156w4JW4GKL6NESpqJCfKj0ubYIPGRpxQW6oQM=; b=TlPf0CpsH5KYDYBfBIuKu3gIWi+PSooVuPEqtjbIPy82p8h39VXuj4OxGvXWFD6VUD sL0aeRcjGr7HGX2kIiHyvPwFKPW/rRrhp9mM7ffbRgOL4KusgkCz9ujVvJx0y5AkO184 /HxzxkALSuFPioGym+MydQY4lFjFjuCjlGhis6ZzQmxfvOCMbVnQ6EXqi2Z8LsIjmb/8 FQwHY5JozuhhoNs8WeNYHg2FIuYFwZS0FVpV90tMQsAqZSqGllUDHTPhIbzZHHySXJ2S jtFgsOFa5oA3EBX+hTsi2glXNZgiM01sv3CgjZnOExOSLYCG7ETi/su+I3O48j5jx2qj EzmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fRN6aj7z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14-v6si16260504pgk.172.2018.10.17.00.42.26; Wed, 17 Oct 2018 00:42:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fRN6aj7z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727365AbeJQPgr (ORCPT + 32 others); Wed, 17 Oct 2018 11:36:47 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:42066 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727000AbeJQPgq (ORCPT ); Wed, 17 Oct 2018 11:36:46 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9H7gBd9017540; Wed, 17 Oct 2018 02:42:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539762131; bh=A3B7m156w4JW4GKL6NESpqJCfKj0ubYIPGRpxQW6oQM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=fRN6aj7zZSvWPs0x13xufuxfIDxVG79B6xt0Ip54U+xiZVtXdF2AFg8oJ0JKQdR0e Uawxe0GUlGPgITPOttgqFRA3sVsRxNkn5FzC3X27mdIN1rjLEdcjMKdih1sBxqLsRv /Tkvv8sqgXuzOyQuk1CK9CkloBrdBAlFr/2X4Uco= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9H7gAOu008761; Wed, 17 Oct 2018 02:42:10 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 17 Oct 2018 02:42:09 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 17 Oct 2018 02:42:10 -0500 Received: from a0393678ub.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9H7fgSS009413; Wed, 17 Oct 2018 02:42:06 -0500 From: Kishon Vijay Abraham I To: Bjorn Helgaas , Lorenzo Pieralisi , Murali Karicheri , Jingoo Han , Gustavo Pimentel CC: Rob Herring , , , , , Kishon Vijay Abraham I Subject: [PATCH v2 07/21] PCI: keystone: Remove redundant platform_set_drvdata Date: Wed, 17 Oct 2018 13:11:00 +0530 Message-ID: <20181017074114.28239-8-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181017074114.28239-1-kishon@ti.com> References: <20181017074114.28239-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional change. Remove redundant platform_set_drvdata invocation in ks_pcie_probe(). Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c index 337464d15775..926e345dc965 100644 --- a/drivers/pci/controller/dwc/pci-keystone.c +++ b/drivers/pci/controller/dwc/pci-keystone.c @@ -912,8 +912,6 @@ static int __init ks_pcie_probe(struct platform_device *pdev) if (ret) return ret; - platform_set_drvdata(pdev, ks_pcie); - ret = ks_add_pcie_port(ks_pcie, pdev); if (ret < 0) goto fail_clk;