Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5315660rdb; Wed, 13 Dec 2023 05:32:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhQ7nZe6ZXvVEbReLPkO5OkSu+H077x4nxOvm69tXTlqzV2AIEyIsWjvbT/hxsh6PyEcBv X-Received: by 2002:a17:902:e802:b0:1d0:8285:a1fe with SMTP id u2-20020a170902e80200b001d08285a1femr4653079plg.37.1702474354577; Wed, 13 Dec 2023 05:32:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702474354; cv=none; d=google.com; s=arc-20160816; b=0G5k7/lEvmruuCIEifoY3SovdupGVBVEbfR24yCMk8GlVfOI+Yr2DPFbmffZZ73CjZ jxT6PKe33xozECC+kqjbhNT/4smiTaq9rYzU7xf//VPK8pTGoDgTAmifvOOPrbDr+kSX wIVb7zCmfEemL4+1rtwoInixzE6Kcak/4Sbb8z1rjGnkTyf0iTOmTSJ7MpFIIQgCIKhH UgtTFzO1HskfufO6awFnz/WXKuHHwNWemgVhpySLy/DeLCYGzaCCEWmXdmtblbKd+OyX 5wBLWpmgdS114FMg3p8cn1SJAN+4lQkKbtD6Xvz0Sv7yp+N+QVNnN0tPmdPmUahXnmgp arYQ== 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=qfcARsxUY8a+fh7blUiTFUcnBRVyq/8FOko2HhznBY0=; fh=4MDH8sj2wJ6Wu/fnOGkVu4rnlQzETKMJXNwfJgVSlJI=; b=at9LBxhg5lmF3GY/SsylRss7iY1LQ7yHvcl2Az/rlrjt3VH+IGvBLCxX9FIcVzQxpd mq2nniYYBonrd5HiMX3i+k6KUPO8lKVBiEzDDp5Xy0pY+mUlfqoVi469XFtLkMu4395e LJtpON348IkniuX7fsJQG5kFBb0Gta10DFey/1JICIX8bZhPwuwW1RpVTJfKEI09ubSY XJt6ps3T4AeZcmCzfP02HgFHHE5y85IUF56Z7G2fUgzuBdp0XgS5XA+dWYEIWBp3kU+g DUNmBVOESDD/FsnlwHT6ut3Kq6ZbD3L8QYn7yVmRuJG/pznG1mbu2qkw3O1fpKVABDyF EERg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id iw3-20020a170903044300b001d35165ffa5si955975plb.394.2023.12.13.05.32.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 05:32:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 6639F81904D0; Wed, 13 Dec 2023 05:32:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379235AbjLMNcD convert rfc822-to-8bit (ORCPT + 99 others); Wed, 13 Dec 2023 08:32:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379232AbjLMNby (ORCPT ); Wed, 13 Dec 2023 08:31:54 -0500 Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC817107; Wed, 13 Dec 2023 05:31:57 -0800 (PST) Received: by mail-yb1-f176.google.com with SMTP id 3f1490d57ef6-db538b07865so7148265276.2; Wed, 13 Dec 2023 05:31:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702474316; x=1703079116; 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=6ByD+WhHBWOGKiqiMHh0fO3Oon6EHmqlUadQiQzx7t8=; b=KNjX9y7hM9XHp0ODBk7facblQo1ZXMIZ1MjvxE9g8UWTrk+LBjk7OFoXWrs3biuvRZ NeeT1+Ba5NkGpxhwmTlUzn9tiVS4hF0zc+zxsWC604/PrNcxaFMmuS9ymTms1RM9slbL CGw6vjT1FmTgzfYO+Mctys2WzUMIWkTJ4AqZ/bZjagRzTxqViCRmayopEA+Dxgz6/5Qv 8OSzd+S6ALzcFqhOx+I62K8NyAjwIk3hS3VMb+Zp7wSADQDydKbkjNtX2lOeTkClBqwn H0m5BOANHux9o2kWHuomgpZxCTxAIRo6JpVRzbkjHkEifq8wAmTvplq4NRRJdsnYDePM 1K0Q== X-Gm-Message-State: AOJu0YxdEFK32NEc0+HLn8/0ApED/QlCQn9LfC6TbShXTv1bAHUhM73D P+E/yh5OpWv5aXqPhi7KhhsdG/Eb8Kkvmw== X-Received: by 2002:a05:6902:150:b0:db7:dacf:ed8b with SMTP id p16-20020a056902015000b00db7dacfed8bmr5694588ybh.108.1702474316690; Wed, 13 Dec 2023 05:31:56 -0800 (PST) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id q3-20020a258203000000b00dbcd92f26d4sm174366ybk.20.2023.12.13.05.31.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Dec 2023 05:31:56 -0800 (PST) Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-dbcd28d5004so516019276.1; Wed, 13 Dec 2023 05:31:56 -0800 (PST) X-Received: by 2002:a25:bf85:0:b0:db7:dacf:ed6f with SMTP id l5-20020a25bf85000000b00db7dacfed6fmr4540307ybk.80.1702474315827; Wed, 13 Dec 2023 05:31:55 -0800 (PST) MIME-Version: 1.0 References: <20231207070700.4156557-1-claudiu.beznea.uj@bp.renesas.com> <20231207070700.4156557-4-claudiu.beznea.uj@bp.renesas.com> In-Reply-To: <20231207070700.4156557-4-claudiu.beznea.uj@bp.renesas.com> From: Geert Uytterhoeven Date: Wed, 13 Dec 2023 14:31:44 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 03/11] pinctrl: renesas: rzg2l: Move arg and index 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, magnus.damm@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, 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-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=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Wed, 13 Dec 2023 05:32:29 -0800 (PST) On Thu, Dec 7, 2023 at 8:08 AM Claudiu wrote: > From: Claudiu Beznea > > Move arg and index in the main block of the function as they are used by > more than one case block of switch-case (3 out of 4 for arg, 2 out of 4 > for index). In this way some lines of code are removed. > > Signed-off-by: Claudiu Beznea > --- > > Changes in v2: > - adapted for index variable and updated patch title and description > accordingly Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-pinctrl-for-v6.8. 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