Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4127642rwl; Tue, 28 Mar 2023 03:04:10 -0700 (PDT) X-Google-Smtp-Source: AKy350ZTB6bVGUEbGn1IOg/UfMgv2eCFBzYawWZk1rehpE88NedhLckc0b3b8YRFpxBrvmUGQxQF X-Received: by 2002:a05:6402:386:b0:4ac:ce82:9825 with SMTP id o6-20020a056402038600b004acce829825mr14515175edv.16.1679997850594; Tue, 28 Mar 2023 03:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679997850; cv=none; d=google.com; s=arc-20160816; b=SUK5UP4qry1YHcFjTDTNjp6z0MS4po7Gmw5ui1gdz/kTLsl1/B70sYAeczAc/s9qP2 48r4La47sr/mhZIBDYbOy2KFDE3ioC+qcHS6MYYWMgd71A1SO3hG/JaBW0EWzIdWK07z 4ObDO6Fh+pxk97r1M1umEzUh1ZAy/+aDXMeGSbvdYZUiLfaxBX5XR9ZywDM0mwAq546C 5EhgzCSB/X83zA56/9pAM/5btPFISv2SkwEL7goGj+OqrTW05XQ0LOKKy+iQXdk3ezqo e+ZzlFjrUid5oRtTRqjm7e0jbje7RcipkRfzUYjwoB7dQV0Aq54fNUnYA4Nf6je1ULo5 Ps2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dv5RHMcotD7erG/0Nmo+b+zo61BrS6sgjXqw2E7AT4w=; b=YlfSZxXKUFEcmv+nMervPGZYG70hSe6o59EU558IqzYOE89KzkwY+/KKDjN1uGbIOe bBAU/H1ep9Qkqrlrb/Cap8YFQtvee9cAC9BUWHbVSgP4RhvCy93LIoQTvSejH37qn+G6 lX9mim2hZ2cuQsv55+6TliLvSki/iI04pQWZOqhVGG0VnnvRtoTtrOOSd/3Yl0bwIjoq HMrC5DnrWefwiYOH8bM7d9pM4HiCDVBcq4DZs4hSs/5YvEm9i7SO7IRmbJpsodSSTGyn N7Kq6EIPse/UfhCsZqJGLugQ+3QUrgIrISp0pbEppXSSUwAmtJ/ed3di8Oho9Y2YCqjo Wrgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ivQoSC2Y; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020a50fa8a000000b004ad7a9f7929si24241036edr.136.2023.03.28.03.03.46; Tue, 28 Mar 2023 03:04:10 -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=@kernel.org header.s=k20201202 header.b=ivQoSC2Y; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230330AbjC1Jxz (ORCPT + 99 others); Tue, 28 Mar 2023 05:53:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232588AbjC1Jxm (ORCPT ); Tue, 28 Mar 2023 05:53:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 630992705; Tue, 28 Mar 2023 02:53:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F2C016160B; Tue, 28 Mar 2023 09:53:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02A0BC433EF; Tue, 28 Mar 2023 09:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679997220; bh=VhcEmaPkel8t+3tqqVdwI5zgGFM9/5+T/o02FWQ94dM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ivQoSC2YH3DO/kBIom8ARFZmat2GWfuuU3f83pGVVozRRhpq2SRPLfvey5XkBprFx 14lDUpzUCsn3rMU79Scw5SP7smAaNF8xkyTIAiYp8YHKHy/JiXRo+5/xH6r+Mb5Ebw 8ccpCKE6luvFYvl7Rl4mAZyjn23R6xqisLGSd8FdTKHVCbhIo4Dm+llX/1t6wmwezD 3Nv0HqG2IOFkwZg0RSzG7qA8f1pI4bWS2EHjDhWA8CQ4Caw+i6opHqlMgz139SW8q2 97UjzKwuaQAtcw0DXdoovGxBWDquUAVf4wqC6cABXTsY2PxN/hVY7J9C+l9wceolv3 hPF2jR3ufuGEQ== Date: Tue, 28 Mar 2023 11:53:37 +0200 From: Andi Shyti To: Krzysztof Kozlowski Cc: Yang Li , kyungmin.park@samsung.com, myungjoo.ham@samsung.com, cw00.choi@samsung.com, alim.akhtar@samsung.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] devfreq: exynos-ppmu: Use devm_platform_get_and_ioremap_resource() Message-ID: <20230328095337.sr6s3klmhiyz63pr@intel.intel> References: <20230328053853.23159-1-yang.lee@linux.alibaba.com> <8779217b-bd70-37a4-c779-139690048d4d@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8779217b-bd70-37a4-c779-139690048d4d@linaro.org> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Hi, On Tue, Mar 28, 2023 at 09:19:01AM +0200, Krzysztof Kozlowski wrote: > On 28/03/2023 07:38, Yang Li wrote: > > According to commit 890cc39a8799 ("drivers: provide > > devm_platform_get_and_ioremap_resource()"), convert > > I don't understand why do you reference this commit. There is no bug > introduced there, there is nothing related to this driver. > > > 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. I've seen Yang has sent many of these cleanups, perhaps he can write something like: " Commit 890cc39a8799 ("drivers: provide devm_platform_get_and_ioremap_resource()") introduces the devm_platform_get_and_ioremap_resource() function which combines both platform_get_resource() and devm_ioremap_resource() into a single call. Update the code to use the new combined function instead of the separate calls. " With that Reviewed-by: Andi Shyti Thanks, Andi