Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp180581rdh; Wed, 7 Feb 2024 01:13:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhN8LCurkCStSXRPwb4mLHLMtCT3ETqdhTYS0ZUSpYG68EVtaho66m4qILWKh/+CnR44p0 X-Received: by 2002:ae9:e715:0:b0:785:8e15:ccdc with SMTP id m21-20020ae9e715000000b007858e15ccdcmr4517174qka.74.1707297236040; Wed, 07 Feb 2024 01:13:56 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUunYzK8+TStaYnA18JCjsDUt2g6V5m9NQ2i95WnxUAahjjCd4ar3cgrIgG/8eGjSx1ajwulaj79ujO1E6YdKcf6edsprc4xEYlBmM/8w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pj28-20020a05620a1d9c00b00783f82a9381si700578qkn.342.2024.02.07.01.13.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 01:13:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56176-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; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-56176-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56176-linux.lists.archive=gmail.com@vger.kernel.org" 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 B55041C23383 for ; Wed, 7 Feb 2024 09:13:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9114E224F5; Wed, 7 Feb 2024 09:13:50 +0000 (UTC) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21B6B22309; Wed, 7 Feb 2024 09:13:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707297230; cv=none; b=C3xcTpez7ySs7T+922ULQP0kQxrRZUz/4h6NB339tUUGfGyv4WKiHN4jqi3i/nHtJ/XgrJZpRBAnATE3BPNNktmyITfjxMe1R9szaFPZkI9L9aTp3Pkvsl8iVkErCTMfHWO3YHyaSbMcK/OJ/zU3PKsjpJAMCVbGq8dfiWCpx28= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707297230; c=relaxed/simple; bh=TqmxnL7LhKGRFaus9OcZ6Eu3Xvu+lsumuH85X4Jj9qg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HBFi3LDZDIu/BkpML+XiEZAD0fuZCOJQ6XtZdeztt0GAPkim0AzZ1FMh4f8C6M1VG6nRiAmGXul/ahho18uRhSa1jS8sQcZhEHbMKq3Jte4QapVyCkhNKmF1qI+EymS/ujVFoZrUVAxnS2ptKP0hZkTFb6wN8XXilx1ZgvZWzP8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.219.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-dc6d94b9961so348756276.3; Wed, 07 Feb 2024 01:13:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707297227; x=1707902027; 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=eg3v7z1mB1AjuBlJK36dadneR0u0gyBpWirpxI2xans=; b=I8xUGjZEOmVM7XjmboCxlNx8YmfwTeyyfDdZj9FFBKNhpeLli/s2xQ7JYY5diXLGnz apJKFVYZ6spBK9cZ+YsplNqQgDUKF0iUvLVu1N9WkrZykHQJUwjvUrcc/KxuIwc09glT 7d0zgJMGZ5bHruXtwf4I715+JW7pbNW6cew+0EM1um1Ufjuoeh1EpuQrUoFpmLiPbWg2 CfBE0nqrwia3rChUaZ2hgJT1V9yoCfOecqSVVaC7ROMwl/e0DJVUKhWN+35gEBTZn26r tZUBMEwPVytQ7q+QNEwGQhSWikv7uSDZa5P0s10Kb8xo4j4Kkz00Lfm12PVGm93ao4kK 4QOg== X-Gm-Message-State: AOJu0Yy20ecT6glK4IPGNmjo6ErVsYmuvSM2GlRWo5R718frUkLll6pf Sfg26wf3+eEysCXoeX/s3naTw43EgO4ke8paCpuVyOMxxRKZYJSahdOOPN/RxFo= X-Received: by 2002:a25:8284:0:b0:dbf:ec4:311f with SMTP id r4-20020a258284000000b00dbf0ec4311fmr4325322ybk.58.1707297226775; Wed, 07 Feb 2024 01:13:46 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXQcKBlbOWpzDn+O5Of/vJ6zmF9MagJ1hsI5m8UQ40wd0GP96hQEZih0Qh/kHS9SiS9CiK3E8NoNtrgGNNZRlYOYpGyJCBwTTXXnylFfHGE3bTMcEk8AvnXa6Z+G9CzDxeG1r8ofzHZ120uS+1W Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id a5-20020a256605000000b00dc36ad3af97sm146291ybc.50.2024.02.07.01.13.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Feb 2024 01:13:46 -0800 (PST) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-dc6d5206e96so369576276.0; Wed, 07 Feb 2024 01:13:46 -0800 (PST) X-Received: by 2002:a25:84c3:0:b0:dc2:65da:d3af with SMTP id x3-20020a2584c3000000b00dc265dad3afmr3965372ybm.65.1707297226259; Wed, 07 Feb 2024 01:13:46 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <324d4e02-6a5a-4112-a3a7-d7aeb5876acc@arm.com> <596b3bda-3bef-4e28-b9dd-08b96da97097@web.de> In-Reply-To: <596b3bda-3bef-4e28-b9dd-08b96da97097@web.de> From: Geert Uytterhoeven Date: Wed, 7 Feb 2024 10:13:34 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] iommu/ipmmu-vmsa: Use devm_platform_ioremap_resource() in ipmmu_probe() To: Markus Elfring Cc: Robin Murphy , iommu@lists.linux.dev, kernel-janitors@vger.kernel.org, =?UTF-8?B?SsO2cmcgUsO2ZGVs?= , Will Deacon , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 6, 2024 at 3:16=E2=80=AFPM Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 6 Feb 2024 15:00:23 +0100 > > A wrapper function is available since the commit 7945f929f1a77a1c8887a97c= a07f87626858ff42 > ("drivers: provide devm_platform_ioremap_resource()"). > > * Thus reuse existing functionality instead of keeping duplicate source c= ode. > > * Delete a local variable which became unnecessary with this refactoring. > > > This issue was transformed by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- > > v2: > The transformation pattern was adjusted based on advices by known contrib= utors. > > Examples: > * Doug Anderson > * Geert Uytterhoeven > * Robin Murphy Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds