Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2936740rdb; Tue, 6 Feb 2024 02:11:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSp1Dd3KSjULTo1qEZB/JDqHseNKWH7qPIG2KwTFdRvIDNxG4CtWeAN+o6CFi+/9zGNEHx X-Received: by 2002:ac8:4788:0:b0:42b:eea9:7eb8 with SMTP id k8-20020ac84788000000b0042beea97eb8mr2310714qtq.56.1707214275473; Tue, 06 Feb 2024 02:11:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707214275; cv=pass; d=google.com; s=arc-20160816; b=czjlImFQ6kuGDETebIgLiw6qe9FCFjaUlgCxD/SwdW/FQXVois/olvlHpt+E++pufd NPf9lCDKYNyRpWdZesMelS7382jjAyC4TM8XuGQStHmAiFEiZzEjJMb0Us9FDFffo8I5 +D8h6hbMNBD6CE5VTHgx68xNtzP1KEZBgrMGQteErqx/5dc6cJK9dE7wdYMDaidjcyRF dk8MiD+kGZrfqj4Dc5AaiFfMU8z+i/scR6uCa0Q2p25HnMt1FYgsSaefFYiGboOqMZuR D3PWZBcwrQEUjSsnLw5geQpOPUovxZJgFgm7w1skwCRQdRAyIfa34j/Xm+fjRLwUEJxB 7kqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ORA6EwI1PUdluSp+6ZKahCual4Eea24jtTiubPJhChM=; fh=qf8MmQBxNUTUQN15JeSpQ8Z47BechHFlD5jkFiCIeyY=; b=ND7s1QYnquVsIW/7BoXyT5bRPCjx4oo/eWzneVq7nEmzaIrM7zsVhK9gPvWECufhGm aDfQN3HcZhzGFqiOiMgrF7MsoIMygy8uk1Cz9mp46YnQWXTfO094hk9VTCbjEEUz0pa0 eeda0g8lR/W5gk/MgCNbCKLKMiRljBKRACRsaEkLuswFFBbGd0GpSpm56Cna1B5e4/KQ GGJn2Px2mWmaWGpdF5nkNW5+4nDHi870xq52wpkScRExEbRr7cexgaWNtwbApLiNz7Jo N5XhasZF3TTZFYuFwRZra37JiM2JJVuOlg5jOpONuuJ3tEBvTxDIWBqbTIAUdsYjqan5 tRgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cCe7Wzn8; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-54657-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54657-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=1; AJvYcCXksE/KWebCMz7SI+bpDOLaIeZsdat7M3PgqEc1y5zIu5ATubdvhLd/4pM9TOPImuZL3vZxRfxY5oF0QJxhLTRFxfiWR1YLj4F4cC8LJg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b7-20020a05622a020700b0042c0b95588fsi1941842qtx.708.2024.02.06.02.11.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 02:11:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54657-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cCe7Wzn8; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-54657-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54657-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2B80F1C2211F for ; Tue, 6 Feb 2024 10:11:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C391312EBF4; Tue, 6 Feb 2024 10:10:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="cCe7Wzn8" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5568912EBEA; Tue, 6 Feb 2024 10:10:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707214232; cv=none; b=EE8v0FbkemTKIWz+m5wqSTGItUPmuzh7WD6OEKEs/vX3sfbJBqMSFlmg2N3va1eduWFBphHnvR8/aCZALhSTGj/6LTRSP0lU/KERDs7bl+UaFX/1EhJF9FNtTkd1eZ0PuccfTGsp17J5il2gC1hrUrmkHzC/Lu1TnVE/OoPgsW8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707214232; c=relaxed/simple; bh=c0L7QZYigfyLPmzRjA6nS5GyM2Z1QUEWyvUjNZ0gam8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nz2/3t5fF1FlbvH8WdID/vypbDVXkwJB4E11XIb/nsbWPeCQYYHAq2ykXcEwtv40/QKPG/f5nXJBlA4IhohqIxpwsy5tE6Kwy6mcutNMFh756/roCqSYA3xyEBJigCC+NDcEmJWLsXAs93w9HJNmlLaPxhOeMQv8LZ8iqhAU2ng= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=cCe7Wzn8; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1707214228; bh=c0L7QZYigfyLPmzRjA6nS5GyM2Z1QUEWyvUjNZ0gam8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cCe7Wzn8mB/Qc2IlweE/YDlAx4XfeacuEPNZi8O5b3+sWsF5QBYAPAlU8rHBGvUJ5 cdYZNevT/tmv/Z9t+j6a2Jg/g1075A9U8lgYjj5/WGb9cJUz5RLTmRDexmtlovQuH3 h9JcY1hYhAIp2LNyNV1I9F0ENfUFbbHx5uTFbw0zBVJQHyAnKQQVmwcVHuosS2xfEY aJUB2kf/OqPh4vwKTtBi37VW8i1XMzYjoFndzVRFeDlwFffATcEznXu3JiNaCNloPV ojLHP6VhrNJvj0jaFYF4XH3rZZPEVIJOMraFGnSkKBIONqH28EdUrgwwP+ysHQZeOG cV5jZtl/Nr+Ew== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id A72AA378206B; Tue, 6 Feb 2024 10:10:27 +0000 (UTC) Message-ID: Date: Tue, 6 Feb 2024 11:10:27 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] pmdomain: mediatek: Use devm_platform_ioremap_resource() in init_scp() Content-Language: en-US To: Markus Elfring , Geert Uytterhoeven , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, kernel-janitors@vger.kernel.org, =?UTF-8?Q?Heiko_St=C3=BCbner?= , Jernej Skrabec , Matthias Brugger , Rob Herring , Ulf Hansson Cc: LKML , Geert Uytterhoeven References: <6e397bf2-1d45-434f-8619-58a737a138e3@web.de> From: AngeloGioacchino Del Regno In-Reply-To: <6e397bf2-1d45-434f-8619-58a737a138e3@web.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 06/02/24 10:21, Markus Elfring ha scritto: > From: Markus Elfring > Date: Tue, 6 Feb 2024 10:05:34 +0100 > Subject: [PATCH v2] pmdomain: mediatek: Use devm_platform_ioremap_resource() in init_scp() > > A wrapper function is available since the commit 7945f929f1a77a1c8887a97ca07f87626858ff42 > ("drivers: provide devm_platform_ioremap_resource()"). > > * Thus reuse existing functionality instead of keeping duplicate source code. > > * Delete a local variable which became unnecessary with this refactoring. > > > This issue was transformed by using the Coccinelle software. > > Signed-off-by: Markus Elfring Reviewed-by: AngeloGioacchino Del Regno