Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1157154rdb; Fri, 1 Dec 2023 08:22:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7u5zCzBgfUIkB69XbyoovtHpvnGq5pQAn1ZHeB+KSJxAhGbd0Wu2NqvWek0Aa/Hv+pBmm X-Received: by 2002:a17:902:e5c7:b0:1cf:a53f:201e with SMTP id u7-20020a170902e5c700b001cfa53f201emr32542583plf.42.1701447736671; Fri, 01 Dec 2023 08:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701447736; cv=none; d=google.com; s=arc-20160816; b=d2vH2qEWzsz6AiCm7+eXL8QrKrObsF4eLA9paBgsoVEp2caMIEUaHWBOZyC6pqSc+1 0vqKYUchNXOTpG3glEGXXfxfUq74ZmesZYy6P2UlmzuqzhrDQsPO0dQt1pOXrkqfypuQ /dMUHl0PvkUpIVIPvFY4t3hP7dy5HxtStkjXLqeppYM4KnXtpRm7KvarUnB4Sligt5n/ +DflXNUE4FVI+5st0pcgUcNpuDLDCfIYEwrMqXUbOcYlCSHfcQXbNA2lYF+I7jtU72HO OePn6L79+G9qpG8AIS7icBSJ3/u8gIUWtV/BdKPk39G5xtxt7I+K1G512XsDO0Y/fRLH PbjA== 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; bh=Sk7afiErKh7Su8mVTz6/yPus+Fn2vFrC+YZiMyeJSmk=; fh=YEuDZnTkdm7U0hM+OqIGqyXueqvXZwjnSeRtlsIVJKI=; b=wNN08fmnZLV5llDgzeCERMgylQ7ZZCFELsuA3j9LVHYewDqlLy0Zo/yWiN4x1GGNFd 5TbRzhiRqIxQQcXS34iokNCPQio11GttSea5OR7LowzucKa509NlRcIccSUneiD5oYLf 47eYpahHfHNMm2vcSlZfCJIL4s07K0d0uoKUxQDP6e9Jbi33FZIBAMyDNyFBOjJ/0zb3 8+wmf/+/fv3lVglPW/bM4gmrY0yjLouW4N/Rc9glZXuddY8sWgyPF0XYB04YIlyixXbR 70rX/aFtSrIDOnttWt/aPxZV1f6IDl8mqdBgFzTagFFsdLkPnqPIHtyYaF2oPukanOhl ChVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id az5-20020a170902a58500b001cfbd3f391bsi3323005plb.226.2023.12.01.08.22.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 08:22:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C94428106822; Fri, 1 Dec 2023 08:22:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378170AbjLAQV5 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 1 Dec 2023 11:21:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjLAQV4 (ORCPT ); Fri, 1 Dec 2023 11:21:56 -0500 Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B3ACD50; Fri, 1 Dec 2023 08:22:03 -0800 (PST) Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-58d9a4e9464so1144496eaf.0; Fri, 01 Dec 2023 08:22:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701447722; x=1702052522; 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=XMzJQkWl3UCqt9MwlcLP28F/WjmJ8PvNuz3o00YLjoc=; b=AhEECuELoNFQJOyh58mkZdZ/MP+HM3W6XTkhM9vyTB+4sMMXQkvBB/+aqPSJng36Br M/K1qM1u5B4YAgRa7CYisnCAZ4BhjnrDGcNlK9PT03HbmCc9I6FAV7bMMbpqbb+R4AAK OOKcmhKpCH7S7qzqzoTZZIeYL8+GhR64twRfsY8ILBdTVgXKPCF4FCVfRRZLGKJlLz9g kDfSVacrVANTjDohkes8V++sC3M80gIO/AOeSQZ6Vul/diPYGO42w7JhCFC+pR5jfkuR EjKMLcT0aVPshSaF+BqKqNIxmTj+WPChYXUqezbC3cAr1pe1ORHHpsNobT/+CqeCibpd /uMQ== X-Gm-Message-State: AOJu0Yw/MqX9xBpST/cgl6INpOxtA5OTMYSqjN4InAof/yXDqj+gl4VM xD92a+OPRI8cg0nEhr50kwheSrIfGLLTkA== X-Received: by 2002:a4a:621e:0:b0:58d:b174:9af6 with SMTP id x30-20020a4a621e000000b0058db1749af6mr3301490ooc.3.1701447722143; Fri, 01 Dec 2023 08:22:02 -0800 (PST) Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com. [209.85.160.43]) by smtp.gmail.com with ESMTPSA id v3-20020a4a3143000000b0058d592deb89sm620159oog.17.2023.12.01.08.22.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Dec 2023 08:22:00 -0800 (PST) Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-1fa21f561a1so361498fac.3; Fri, 01 Dec 2023 08:22:00 -0800 (PST) X-Received: by 2002:a81:5258:0:b0:5d3:4923:2fed with SMTP id g85-20020a815258000000b005d349232fedmr5600759ywb.36.1701447366859; Fri, 01 Dec 2023 08:16:06 -0800 (PST) MIME-Version: 1.0 References: <20231120070024.4079344-1-claudiu.beznea.uj@bp.renesas.com> <20231120070024.4079344-6-claudiu.beznea.uj@bp.renesas.com> In-Reply-To: <20231120070024.4079344-6-claudiu.beznea.uj@bp.renesas.com> From: Geert Uytterhoeven Date: Fri, 1 Dec 2023 17:15:55 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 05/14] pinctrl: renesas: rzg2l: Move arg in the main function block To: Claudiu Cc: s.shtylyov@omp.ru, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux@armlinux.org.uk, magnus.damm@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, p.zabel@pengutronix.de, arnd@arndb.de, m.szyprowski@samsung.com, alexandre.torgue@foss.st.com, afd@ti.com, broonie@kernel.org, alexander.stein@ew.tq-group.com, eugen.hristev@collabora.com, sergei.shtylyov@gmail.com, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com, linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Claudiu Beznea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 08:22:06 -0800 (PST) Hi Claudiu, On Mon, Nov 20, 2023 at 8:01 AM Claudiu wrote: > From: Claudiu Beznea > > Move arg in the main block of the function as this is used by 3 out of 4 > case blocks of switch-case. In this way some lines of code are removed. > > Signed-off-by: Claudiu Beznea Thanks for your patch! > drivers/pinctrl/renesas/pinctrl-rzg2l.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) Unfortunately your claim is not really backed by the diffstat. What about moving index, too? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds