Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8552471rwb; Thu, 24 Nov 2022 00:47:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Udiu5Jmb4ejKYPlFbtUmvadly2p4vE3D06Qlq/voBWeIdKZBBD+AG/qKFs9xO2A9ZJIHH X-Received: by 2002:a63:e30e:0:b0:46f:f26e:e877 with SMTP id f14-20020a63e30e000000b0046ff26ee877mr28207506pgh.545.1669279625637; Thu, 24 Nov 2022 00:47:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669279625; cv=none; d=google.com; s=arc-20160816; b=Ra/6LDnqgE/ovWATQ1AzDAsiuVn7U3kHAght6haKUvPY5yzHfQEnMeNjPhUwITiBw+ ZwrWmPV3tm5OVuu+VF3qu9Y56uN1rzFmHOhPkm6G30pVrVVSjFNSN9+8cPTRMj/KZYm/ hGeCv4gbrddaobe/pdi1oY4Vy/O5Mik74QdrnxjAzjRglkYiLzA4HfFTWXQUbIKRYuWw 0XfNaaOOetXulRCwIuryezSQdhtP7oAyOAi7Y3eVX8f903TX3CcF628v8uJlB3J0oWjQ EtZkG2voLyVYYRK3eiM4ll9IiQQ3dadfxkWDf8xgtXXRenrJmkgjvBrRz+oIid33FJRn 3eZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=DeUefraTLOsYVw9xLhjc2jCiF4qkVOolmQaF127DKVk=; b=uIRUsE+Fj5Sk1LB1V4siNYSnIbG4HoxIEpaFvuIeFkkeGDtV1WGUlJ9KAYB1HXwOtd pWl1+eFWiqUZ99ngyT3Z24eNCNK8DuiZqxGfQBUkpy/aC47hBkLV26R/1ylVS3kwXkj3 UVL4aeXGZdN8cnvM/HlF6tCW5W+EEGvKdAmcAhFoLgDYyxuEFMUUgTounF02qcCvWglw kHSfcE/ESqeXGegX5k2WvJiArEmUidhKLK4rXloh5yDZXb2QDtmnH4AJy5K/vFEdDFiZ UknG+Vn/4Spd9Y02HGwGPiNIB7VKrtzhZE2JyieOexZUGyd+3DNKdqwx+bSJSHFNObIj jy1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="PAL/4lgO"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020a170902d58500b001890f02e96csi455315plh.364.2022.11.24.00.46.53; Thu, 24 Nov 2022 00:47:05 -0800 (PST) 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=@gmail.com header.s=20210112 header.b="PAL/4lgO"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230062AbiKXIQB (ORCPT + 88 others); Thu, 24 Nov 2022 03:16:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229990AbiKXIPo (ORCPT ); Thu, 24 Nov 2022 03:15:44 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E123810B422; Thu, 24 Nov 2022 00:14:05 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id q7so1133769ljp.9; Thu, 24 Nov 2022 00:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DeUefraTLOsYVw9xLhjc2jCiF4qkVOolmQaF127DKVk=; b=PAL/4lgO3qwcAfVMsmymoQQ9m3TeqyOkDETk9KBNX6z/o9HLwn8RaXvTDlHWiBBDvg atY0ccAGfcCtVElHLwQsrm0QhHkHvKqJqM7RMLGPIFIPWuhF0QyVvPm9wRCzT9iCxASw LN5V+FcWg/SEJM7UxqmH+AYRIOqBhulcXZfzgGab0XACfOxuhyQKNDmHdtNHKaj/8Zfl FplfjNLMeze2dGtr55IUGmbCnmpZu5oViaQ4LvbS85ZhO261UmBzZe6bsie2P1qRpMeU ZCqIYWK6+QBAocMAgO6/neFsIvtKZ8dEs27C22xWp0mQ/KCBXyWacaXLkPM597S1fqZP NN0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DeUefraTLOsYVw9xLhjc2jCiF4qkVOolmQaF127DKVk=; b=3FQiVUe90e2bPDxy2MA9Yg7G7X0k1/Vut4g2d6lUNvNmEOEVr0ixAS/b23TBdshekQ vedRyvfyZ+LeU8rsmSiwLQEEARh4PrwIwupudEcSp5zPMwCrROmfL0t/2UUz5OhpUR96 7pujEu20npj1PSyjij+rHg8swguBnLuMEUKXFLUjbbtnhuxyDRl6+PRaIiewTtwaDSSy RK72h5GJIBRdux9eK2ezmU7Gwwe3TfCEcLGWaKqOEnrN57L2ZdPxxkiOEai4KYL+28Pu OxXoHQ0eT8s+QedKD4f3P3Yc7/LDaHubZyZQcGQyLMz8QPs6BtBadG3P3YxuB743fT6Y xJMw== X-Gm-Message-State: ANoB5pkDvJ0Y3yEKxP51fgpaXHHkNLhsF8jW+6Sh9+E6hDo73Gd71vjy 3GU53NME9YX4NbTOgfvufEA= X-Received: by 2002:a2e:c52:0:b0:277:9bf:9411 with SMTP id o18-20020a2e0c52000000b0027709bf9411mr4006863ljd.504.1669277641653; Thu, 24 Nov 2022 00:14:01 -0800 (PST) Received: from ?IPV6:2001:999:485:946b:e412:ce24:16c6:ba10? ([2001:999:485:946b:e412:ce24:16c6:ba10]) by smtp.gmail.com with ESMTPSA id p12-20020ac24ecc000000b0049a5a59aa68sm52803lfr.10.2022.11.24.00.13.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Nov 2022 00:14:01 -0800 (PST) Message-ID: Date: Thu, 24 Nov 2022 10:15:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v3] dmaengine: drivers: Use devm_platform_ioremap_resource() Content-Language: en-US To: Tudor Ambarus , vkoul@kernel.org Cc: f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, lars@metafoo.de, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, sean.wang@mediatek.com, matthias.bgg@gmail.com, daniel@zonque.org, haojian.zhuang@gmail.com, robert.jarzmik@free.fr, agross@kernel.org, andersson@kernel.org, konrad.dybcio@somainline.org, green.wan@sifive.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, ldewangan@nvidia.com, jonathanh@nvidia.com, thierry.reding@gmail.com, michal.simek@xilinx.com, tony@atomide.com, krzysztof.kozlowski@linaro.org, trix@redhat.com, radhey.shyam.pandey@xilinx.com, shravya.kumbham@xilinx.com, harini.katakam@xilinx.com, swati.agarwal@amd.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, ye.xingchen@zte.com.cn, quic_mojha@quicinc.com References: <20221110152528.7821-1-tudor.ambarus@microchip.com> From: =?UTF-8?Q?P=c3=a9ter_Ujfalusi?= In-Reply-To: <20221110152528.7821-1-tudor.ambarus@microchip.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 10/11/2022 17:25, Tudor Ambarus wrote: > platform_get_resource() and devm_ioremap_resource() are wrapped up in the > devm_platform_ioremap_resource() helper. Use the helper and get rid of the > local variable for struct resource *. We now have a function call less. > > Signed-off-by: Tudor Ambarus > Acked-by: Jernej Skrabec > --- > v3: > - fix errors reported-by lkp@intel.com > - lkp@intel.com built successfully few configs, all should be good now. > > v2: > - rebase on dma/next. s3c24xx was removed, thus drop the changes for it. > - collect Acked-by > > drivers/dma/bcm2835-dma.c | 4 +--- > drivers/dma/dma-axi-dmac.c | 4 +--- > drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 4 +--- > drivers/dma/fsl-edma.c | 8 +++----- > drivers/dma/fsl-qdma.c | 10 +++------- > drivers/dma/idma64.c | 4 +--- > drivers/dma/img-mdc-dma.c | 4 +--- > drivers/dma/imx-dma.c | 4 +--- > drivers/dma/imx-sdma.c | 4 +--- > drivers/dma/mcf-edma.c | 5 +---- > drivers/dma/mediatek/mtk-hsdma.c | 4 +--- > drivers/dma/mmp_pdma.c | 4 +--- > drivers/dma/mmp_tdma.c | 4 +--- > drivers/dma/moxart-dma.c | 4 +--- > drivers/dma/mv_xor_v2.c | 7 ++----- > drivers/dma/mxs-dma.c | 4 +--- > drivers/dma/nbpfaxi.c | 4 +--- > drivers/dma/pxa_dma.c | 4 +--- > drivers/dma/qcom/bam_dma.c | 4 +--- > drivers/dma/sf-pdma/sf-pdma.c | 4 +--- > drivers/dma/sh/usb-dmac.c | 4 +--- > drivers/dma/stm32-dmamux.c | 4 +--- > drivers/dma/stm32-mdma.c | 4 +--- > drivers/dma/sun4i-dma.c | 4 +--- > drivers/dma/sun6i-dma.c | 4 +--- > drivers/dma/tegra210-adma.c | 4 +--- > drivers/dma/ti/cppi41.c | 10 +++------- > drivers/dma/ti/omap-dma.c | 4 +--- For omap-dma: Acked-by: Peter Ujfalusi > drivers/dma/xilinx/zynqmp_dma.c | 4 +--- > 29 files changed, 36 insertions(+), 100 deletions(-) > -- Péter