Message ID | 20191128104648.21894-13-kishon@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp7346874ilf; Thu, 28 Nov 2019 02:48:17 -0800 (PST) X-Google-Smtp-Source: APXvYqzad2M+gVLpAafMrRC0FwCZT57s52AyiDumLuAq1DwS1d4Q+hKTCujpLSv8YFrdqCtZF10q X-Received: by 2002:a17:906:ccc6:: with SMTP id ot6mr54498298ejb.137.1574938097207; Thu, 28 Nov 2019 02:48:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574938097; cv=none; d=google.com; s=arc-20160816; b=zP5xS05kSvROhAKA9YR/dcXzitVPxjLBdx3i756Zgp9mZSyWKZExeABEdx6SOvrHSs l1SHfQsns5Nyg3ubAz0jyQoMhxRCGmZRJGGH/53SyqNwPjmbPzCOeI9U5utSMZ6RdoGB HLRG7l55QaTqXEKbjHy00qmIWyPA3FXkoL6TPgLc0vmjAkcZ84G6ysWq6HxAFuj62HEN 5q/m+ozWeLyRl6k7XzrEH5AxVnW7WO59eG5J7JT3lmkn5k8hlxFEY786Z2knsabBwzZP j9rUgt8L9RUTceR7rDs0xuzrs/zsD4IbtqKH1WM2eDj04qtI4NfhyGlrpdke6Lx3wlbq 1ZKQ== 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=HnvQVBmnp47FnJbchzKE+jfH8rWFeTqVgl7/AlfabmE=; b=iRTo8qvSPxNbohLAQQFKeLqvSGxVMhInx22zHL/E/n3Kaulosc+l01VIhKz6YsEPvs 9DXnZdlPQtIZf4YKuFwN6SEVsXmglnJ7pvl+kmCGG04tlb1YX77V5zSWTHMMdrON+Ird +s+WFFlif+gnlCTGRqCvqsj2FNvwP1gYY9fbNDlivX6vuiDp9cLtXUihJHYcbk/mIK37 jQv5a1hFQiwuGx1DHSiPEB5jWSMy9hEpaAW+teOIOWsPiNrFw5RYiWtos/3kAfo/TjNQ TEDajF3A9DsqDWKTlDd5Gs6tpy6vEc8sz6pnDDK2LlA3Yv2rNm3q9wd63dybEv0ahOs7 rNVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YQ4G4EFJ; 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d18si3138262edr.167.2019.11.28.02.48.17; Thu, 28 Nov 2019 02:48:17 -0800 (PST) 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=YQ4G4EFJ; 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 S1727286AbfK1KsO (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Thu, 28 Nov 2019 05:48:14 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:33162 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727230AbfK1KsM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 28 Nov 2019 05:48:12 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xASAm9pQ019582; Thu, 28 Nov 2019 04:48:09 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1574938089; bh=HnvQVBmnp47FnJbchzKE+jfH8rWFeTqVgl7/AlfabmE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YQ4G4EFJ50ZHmrSNCOQ7k7Oom+cQvG2BDSLBdLklUhtWuBNwaqEiS/vczXS7xQonJ vfe7q0CJDm4C3YRm+YnuK1bGrfrLYzceuXHOLRkIYPLe8FZItHc3xlZnVG1yMvHw4J WR99HmHmsN1iG7/9dGrw2VNZkxu0nSX5mhC5dCh8= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xASAm8G7015736 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Nov 2019 04:48:09 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 28 Nov 2019 04:48:08 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 28 Nov 2019 04:48:08 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xASAlX49098163; Thu, 28 Nov 2019 04:48:06 -0600 From: Kishon Vijay Abraham I <kishon@ti.com> To: Kishon Vijay Abraham I <kishon@ti.com>, Rob Herring <robh+dt@kernel.org>, Anil Varughese <aniljoy@cadence.com>, Roger Quadros <rogerq@ti.com>, Jyri Sarha <jsarha@ti.com> CC: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org> Subject: [PATCH v3 12/14] phy: cadence: Sierra: Use correct dev pointer in cdns_sierra_phy_remove() Date: Thu, 28 Nov 2019 16:16:46 +0530 Message-ID: <20191128104648.21894-13-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191128104648.21894-1-kishon@ti.com> References: <20191128104648.21894-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadence-sierra.c index 82466d0e9b38..eb87f1a0a596 100644 --- a/drivers/phy/cadence/phy-cadence-sierra.c +++ b/drivers/phy/cadence/phy-cadence-sierra.c @@ -625,7 +625,7 @@ static int cdns_sierra_phy_probe(struct platform_device *pdev) static int cdns_sierra_phy_remove(struct platform_device *pdev) { - struct cdns_sierra_phy *phy = dev_get_drvdata(pdev->dev.parent); + struct cdns_sierra_phy *phy = platform_get_drvdata(pdev); int i; reset_control_assert(phy->phy_rst);
commit 44d30d622821d3b ("phy: cadence: Add driver for Sierra PHY"), incorrectly used parent device pointer to get driver data. Fix it here. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> --- drivers/phy/cadence/phy-cadence-sierra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1