Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7609158rwl; Thu, 23 Mar 2023 06:39:18 -0700 (PDT) X-Google-Smtp-Source: AK7set/RtltaRqKj1wPMQ/RNn0nVS03h4OTU0AwntyhjAg5bY7mA0nZwqDowgCodptE7Gd9UizA/ X-Received: by 2002:a17:907:d9f:b0:930:ba36:2211 with SMTP id go31-20020a1709070d9f00b00930ba362211mr12913146ejc.0.1679578757990; Thu, 23 Mar 2023 06:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679578757; cv=none; d=google.com; s=arc-20160816; b=o8+G8LrCLAOrTd4akY9ECOPgaQC4tMv+bPBZqToKyojSQWoep0Wrly5ZGVGb+stsH/ C8/ILwNxUlJt3JnA+YpPB+CHS4XxEUJKHtVT1Wehu77Q7+J9KSlVQgPqt/+rTlqucUuj jO8Qi967MqZlmDYcxMyyUjgR3lU7gWwuvEQ5e9PzF2OQUl4dMh/gD4ohnp428y7URxjL vfGXmzuACeC2Mq4TJaM/7oCPpG7DR0qN5DmQAl70Qx1FkmIN2NRrUrAM7luu12RON++7 3byBuy6Yeco9dMGB+BZCzpNBcp5ZacQdCZbqykSXD91FGryBSdmPMw2FfEMHONPfCYrx VwtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=/r9LM1Q2qIKLtOPEl772hrltusDqn+Brh1BjZrpMNYM=; b=F0VbBsEJNSHQaijqdu9mDwJUE4fbzdnZljxT8ugPE2pIJ76kA02vXLwn0o4pxk9Xyg hUVhnj95eCs5qHA9XFMalYsR1Q4Xi0eYqTCqmfaO88KcRE/Axia2TlVSMaXhgaYV0wEv JZ41TalvJgoh0gQC5ahP2qgHfGxbrMaVm5aRZJ4K9N+n71EvjlPaZ6zh/0TRWycw0TcJ 0E+S3xPFWkpEz/tJKVmGxVIEbpuanNcFn+/GqNqb3ex0d9qnzrX4Ni2ikT2uzdSvjrBG sinUq/natftfybl3xMMW8RjMcYUv+DISzOfwjzseAZ9ni21fXRbM4PtVL6rHfhZP+wcJ xWmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aJYOeYVI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020a17090636da00b009329cbca97esi10729539ejc.438.2023.03.23.06.38.50; Thu, 23 Mar 2023 06:39:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aJYOeYVI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231328AbjCWNHP (ORCPT + 99 others); Thu, 23 Mar 2023 09:07:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230476AbjCWNHO (ORCPT ); Thu, 23 Mar 2023 09:07:14 -0400 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC57031E34 for ; Thu, 23 Mar 2023 06:06:36 -0700 (PDT) Received: by mail-yb1-xb34.google.com with SMTP id y5so24718462ybu.3 for ; Thu, 23 Mar 2023 06:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679576796; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/r9LM1Q2qIKLtOPEl772hrltusDqn+Brh1BjZrpMNYM=; b=aJYOeYVIuVOFXyxuM0TlM1Dhy/T2DQixr0B3Lcf39cJnmKGZq5cUKA1v220YZuL/7X L/wO8MYy0AvL7CByAfTsZIQmnDogXfJSd9Zw/XA4dMQ3c2M2tSVHGqNpkB7ZZnjEfrvo yo86iXvQe9f8Ozn/TcO56lphPW2/hB+/tb/oX7g181MHJQEVQN14DC1CrxVbr7b+zM7i E5niJBI9NxeFlnU7cxR3JQ4Diu9njjF2yn77re5lpUWghhZgyf1jp8Vmqzi2LC8Or2QZ Syd2j5bd8NUzEkkNT57odPgmJuMeNLUFHvEzqVQm5kN18XDBzN3g2K5+9CZ4ae+yAUI8 MHQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679576796; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/r9LM1Q2qIKLtOPEl772hrltusDqn+Brh1BjZrpMNYM=; b=417WeEQ/+rDOTpVt4xlchYq7ETVyAeKn+6MNQAWHP4Ipbmh18vVbt3/UQWtIpPGn+a C3ZtX7ypJZ08iSTlnuSfDKc1kP4k3fk2GUJB7N64qmcU8j6d3682+OCbR9QKMdj3UN/+ mHDXb+Fx1HlWGd1UE0zsjUfhw7kVyTAJn+TF/oIM4+YBkcEXzPMkPvkIhTywUuE8OIOC KvslnlJA0edasr71z/l98+kA9EJHWJvX6+BXOR3NG8itVh7FYHPI6ENNyrGosx3YZ+wd uQPdFSb077j1Wf/J+XDaaNXVhmTTOVyYy7gtDFmxde6Ec04ZL3k4CzpIwSL2cheML43N e7Vw== X-Gm-Message-State: AAQBX9ewWi4MuG832zC7VyaPzXchuGySVO2FS2JG5iCcpVQVCOdNmkdH cra6HbEzsIRPYD+w+bpnW/ezlyXAJOhWwT0Zxosq/g== X-Received: by 2002:a05:6902:1005:b0:a6b:bc64:a0af with SMTP id w5-20020a056902100500b00a6bbc64a0afmr2287099ybt.4.1679576796025; Thu, 23 Mar 2023 06:06:36 -0700 (PDT) MIME-Version: 1.0 References: <20230323090431.73526-1-yang.lee@linux.alibaba.com> In-Reply-To: <20230323090431.73526-1-yang.lee@linux.alibaba.com> From: Linus Walleij Date: Thu, 23 Mar 2023 14:06:24 +0100 Message-ID: Subject: Re: [PATCH -next] PCI: v3: Use devm_platform_get_and_ioremap_resource() To: Yang Li Cc: lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 23, 2023 at 10:04=E2=80=AFAM Yang Li wrote: > According to commit 890cc39a8799 ("drivers: provide > devm_platform_get_and_ioremap_resource()"), convert > platform_get_resource(), devm_ioremap_resource() to a single > call to devm_platform_get_and_ioremap_resource(), as this is exactly > what this function does. > > Signed-off-by: Yang Li Acked-by: Linus Walleij Yours, Linus Walleij