Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1039847pxb; Thu, 5 Nov 2020 22:12:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKYTbC/Dgo7XQFZ0y2d8L8POUorEFol9whGv4KjQq15tXzGiYZaxl38X6KtON4TtVqdsxt X-Received: by 2002:a17:906:d8ce:: with SMTP id re14mr496693ejb.275.1604643134606; Thu, 05 Nov 2020 22:12:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604643134; cv=none; d=google.com; s=arc-20160816; b=lMAGLBUdmNkDL9iSjSYsTQjqPHDg0/vs8jiwwpCWh3NYiRG4WDxQR331OD9YXyLCk4 dwiExwWvy1EQlasda9M/sGe+01Gkc3nE0aLxlspDcPXo3YVtlxREpu6R3sZFWM0ApTba FeZma659Ho6VDfoVD1KUVrpsl4sqUd2fqi3mrCaUY45DjvxdEh7EbNR8DlPoNqHwTgzq F7XHJNZyNeB9vvRmF/1sDgN8Ei+aNLLOp1elL2jbFTRdXsCAWR3FOY3Z/Io39FLhEHaM o/q4Xxs/q/muNfEsIRmojClTGp+GjXCbuNnIP1MgcYep/hur/FglY6ZBW6OXLNiWHs2H IEIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=v7bDNbWdcgylNmWI6ZBN5+MvjPV0WLnN0muwDXmdefA=; b=VKFNfXj54Biyc9f4AB5Mkr8rPnjltuPfdd4zFS4tFPxd+wgSiSiKUyHlDk0jtaxvKW ngi3s1C7Evxov9e7ocWehb5EYeIOFQHHJvhoRMF29VvTgPDrGHj7hDH9Vz0v0Y4IbEbw I9OuF/p/+UQkDoH8Dy5S3gS+9SBSTHSoowZwmxq2CsekOu7o8Ojzwd7B9q7uDVXAew3d vlER6meUr9pBmEtdIct7LdL1KWAquoVFJdUwYTAi6V1Isb+SVGXmjifAEWKfuBoPh730 zNHdNsPh1rG0EtLubfyN/PLvvRbouUPQlY6VKBsHkpFpPVHnicmZ05z2rdXXcAGFmAyR UF6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=MF5IsEl9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si257570edt.63.2020.11.05.22.11.52; Thu, 05 Nov 2020 22:12:14 -0800 (PST) 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=@mediatek.com header.s=dk header.b=MF5IsEl9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726226AbgKFGKF (ORCPT + 99 others); Fri, 6 Nov 2020 01:10:05 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:11999 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726274AbgKFGKD (ORCPT ); Fri, 6 Nov 2020 01:10:03 -0500 X-UUID: 8cd5f98befd946ac9afb501c6257520a-20201106 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=v7bDNbWdcgylNmWI6ZBN5+MvjPV0WLnN0muwDXmdefA=; b=MF5IsEl9R1MciWKOr8vu01yLIZxiA4Ht0FDvn5XiMPRFppBGcgxDkLg5Nwv1JbpVOQLO8Mcff6wxi2LoNwY4uHSz9Q/OPNhv7uZ7fq+UumINRxKM3ba2/YsmvVPhawBf7t0wjFMMepcb19qCMZ0vWQAE0MdD57y/DZJKpO4FTIg=; X-UUID: 8cd5f98befd946ac9afb501c6257520a-20201106 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 274608983; Fri, 06 Nov 2020 14:09:55 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 6 Nov 2020 14:09:53 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 6 Nov 2020 14:09:51 +0800 From: Chunfeng Yun To: Kishon Vijay Abraham I , Vinod Koul CC: Maxime Ripard , Chen-Yu Tsai , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl , Ray Jui , Scott Branden , , Florian Fainelli , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lubomir Rintel , Chunfeng Yun , Matthias Brugger , Randy Dunlap , Krzysztof Kozlowski , Colin Ian King , Ondrej Jirman , Rikard Falkeborn , Icenowy Zheng , Remi Pommarel , Lorenzo Pieralisi , Yue Wang , Hanjie Lin , Joe Perches , Bharat Gooty , Rayagonda Kokatanur , Peter Chen , Roger Quadros , Jyri Sarha , Sanket Parmar , Anil Varughese , Li Jun , Ma Feng , Wei Yongjun , , , , Subject: [PATCH v2 11/17] phy: phy-ralink-usb: convert to devm_platform_ioremap_resource Date: Fri, 6 Nov 2020 14:08:44 +0800 Message-ID: <1604642930-29019-11-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1604642930-29019-1-git-send-email-chunfeng.yun@mediatek.com> References: <1604642930-29019-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 120EC321554EFDCBFDEAFDCB42294258B8B353D568DE2EF946017CB25CAC343F2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIGRldm1fcGxhdGZvcm1faW9yZW1hcF9yZXNvdXJjZSB0byBzaW1wbGlmeSBjb2RlDQoNClNp Z25lZC1vZmYtYnk6IENodW5mZW5nIFl1biA8Y2h1bmZlbmcueXVuQG1lZGlhdGVrLmNvbT4NCi0t LQ0KdjI6IG5vIGNoYW5nZXMNCi0tLQ0KIGRyaXZlcnMvcGh5L3JhbGluay9waHktcmFsaW5rLXVz Yi5jIHwgNCArLS0tDQogMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspLCAzIGRlbGV0aW9u cygtKQ0KDQpkaWZmIC0tZ2l0IGEvZHJpdmVycy9waHkvcmFsaW5rL3BoeS1yYWxpbmstdXNiLmMg Yi9kcml2ZXJzL3BoeS9yYWxpbmsvcGh5LXJhbGluay11c2IuYw0KaW5kZXggOTVkZmE5ZmQyODRk Li4yYmQ4YWQyZTc2ZWQgMTAwNjQ0DQotLS0gYS9kcml2ZXJzL3BoeS9yYWxpbmsvcGh5LXJhbGlu ay11c2IuYw0KKysrIGIvZHJpdmVycy9waHkvcmFsaW5rL3BoeS1yYWxpbmstdXNiLmMNCkBAIC0x NzAsNyArMTcwLDYgQEAgTU9EVUxFX0RFVklDRV9UQUJMRShvZiwgcmFsaW5rX3VzYl9waHlfb2Zf bWF0Y2gpOw0KIHN0YXRpYyBpbnQgcmFsaW5rX3VzYl9waHlfcHJvYmUoc3RydWN0IHBsYXRmb3Jt X2RldmljZSAqcGRldikNCiB7DQogCXN0cnVjdCBkZXZpY2UgKmRldiA9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