Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1039773pxb; Thu, 5 Nov 2020 22:12:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYoMAgeCaozap3Xn7R0HQbhiIuvD7PNVm5ssrgPYcxptU+98reU/c3xuj8kYi1UpEQcCHZ X-Received: by 2002:a50:d88c:: with SMTP id p12mr445874edj.352.1604643124590; Thu, 05 Nov 2020 22:12:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604643124; cv=none; d=google.com; s=arc-20160816; b=oYYqQMuIrJSQi3PiC9gIe2bCY3ui/3u4mQ0WmRWXSymtKc+qlkNUv03ThI3RnXVqFV rmfxrjb5sXi0MOfMq0AtsKT/FIo0mMyxlcpRgmyk3D2MhiiFSwq/YDsAL/+SnICoRTLr lV9UiaTVgt2LAzwIeUtDkKK+MPO2rY8jpkt+y7t0Peaj+MawDnGbG9aFOhhOTzgjJ+oL 8dYoQrYNolOWi7ce+PuMdxXavFajlR8Clh4T3DR2xTyarS5Pgd6ajXyojhL4QMxklvoK dPKgOZAqZLs02fwGX6hllWbatyOAggjORZpNOA9ESCuPY7t9q14lZevukUNm+x+/E8NI X43g== 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=Vv5JfyijMFP4q6lF2MjfNMhN+aJ47SiZq4p6rMFLGaI=; b=VqeGPC320Eaw7C4rNJuyj5OcpP9mOeMo45qFOV6pxHcOS3bM32FXjc4BE/VuQSbe+a Nfe/tUn51y2qPDM2woD4Ui58HQk/y6WH+QhCD4P79kT3579SKZCkyRlyO7kpcQLXH/uG 0haubStc+crntlnLVxtJXUTcPNXkkj/uWa3RNi62VczybQ/Vptt7LQT2e0+WoYQbqMi+ 3HfCC+a00rSlh23kYkVmvF2/TNBt0XrAyWyWxNusvg+ZyZ/hRvD1QLQT+q4dcErVWxlK QkPAG6CjFSrhongmDg3VJtSMFkJ/7yavGU7By1iVXIX3GTKdT94n7Chq6C8AQz7vkB5y iynw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=MDDarNYk; 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 a13si257935edq.317.2020.11.05.22.11.41; Thu, 05 Nov 2020 22:12:04 -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=MDDarNYk; 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 S1726348AbgKFGKC (ORCPT + 99 others); Fri, 6 Nov 2020 01:10:02 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:64545 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726241AbgKFGKC (ORCPT ); Fri, 6 Nov 2020 01:10:02 -0500 X-UUID: a2375fee6f274994b3e47a71768c87e9-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=Vv5JfyijMFP4q6lF2MjfNMhN+aJ47SiZq4p6rMFLGaI=; b=MDDarNYk0Sj72yQ2lpFVJPgyS2pRFtGM+G+fH822+/JDHF2k2UpnqQ6j6ksep+sLHQU8TFb5zAUAZITkQALRoxm5bTcYg5Aj/0m88lgIQph5eEjW66e5BnuGqzc5CdzdTMJehTgs5uzxXknQLLcnzdEU3GrndOn6/bPqT5hxy8g=; X-UUID: a2375fee6f274994b3e47a71768c87e9-20201106 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 923017171; Fri, 06 Nov 2020 14:09:38 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 6 Nov 2020 14:09:36 +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:34 +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 05/17] phy: freescale: convert to devm_platform_ioremap_resource Date: Fri, 6 Nov 2020 14:08:38 +0800 Message-ID: <1604642930-29019-5-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: F939225C95C083321A204A58C720B8F21DC2D93F564C7C6A52DB08C180F68BC52000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIGRldm1fcGxhdGZvcm1faW9yZW1hcF9yZXNvdXJjZSB0byBzaW1wbGlmeSBjb2RlDQoNClNp Z25lZC1vZmYtYnk6IENodW5mZW5nIFl1biA8Y2h1bmZlbmcueXVuQG1lZGlhdGVrLmNvbT4NClJl dmlld2VkLWJ5OiBQZXRlciBDaGVuIDxwZXRlci5jaGVuQG54cC5jb20+DQotLS0NCnYyOiBhZGQg UmV2aWV3ZWQtYnkgUGV0ZXINCi0tLQ0KIGRyaXZlcnMvcGh5L2ZyZWVzY2FsZS9waHktZnNsLWlt eDgtbWlwaS1kcGh5LmMgfCA0ICstLS0NCiBkcml2ZXJzL3BoeS9mcmVlc2NhbGUvcGh5LWZzbC1p bXg4bXEtdXNiLmMgICAgIHwgNCArLS0tDQogMiBmaWxlcyBjaGFuZ2VkLCAyIGluc2VydGlvbnMo KyksIDYgZGVsZXRpb25zKC0pDQoNCmRpZmYgLS1naXQgYS9kcml2ZXJzL3BoeS9mcmVlc2NhbGUv cGh5LWZzbC1pbXg4LW1pcGktZHBoeS5jIGIvZHJpdmVycy9waHkvZnJlZXNjYWxlL3BoeS1mc2wt aW14OC1taXBpLWRwaHkuYw0KaW5kZXggOWYyYzFkYTE0ZjVhLi5hOTU1NzJiMzk3Y2EgMTAwNjQ0 DQotLS0gYS9kcml2ZXJzL3BoeS9mcmVlc2NhbGUvcGh5LWZzbC1pbXg4LW1pcGktZHBoeS5jDQor KysgYi9kcml2ZXJzL3BoeS9mcmVlc2NhbGUvcGh5LWZzbC1pbXg4LW1pcGktZHBoeS5jDQpAQCAt NDM0L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