Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp2706546pxb; Sat, 19 Feb 2022 21:11:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJy4TA5OoDpH41nCjpNQSP0vlgwjvDcdjVS0Nnp2KPVAgxId94BuQ8SVCuGAzZ9Cw8BKKzPX X-Received: by 2002:a17:902:7c8f:b0:14f:973e:188d with SMTP id y15-20020a1709027c8f00b0014f973e188dmr4153381pll.61.1645333887767; Sat, 19 Feb 2022 21:11:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645333887; cv=none; d=google.com; s=arc-20160816; b=FrsXb+V8MUrEAOyBj0UFlDGjg/l2I7b3lEtB6qqbxip5kUHEFSbPHuu3D9P0VqdebS St9Y/qjFIbFJG3euGoXrJR7otA8JuCaejP/jxSQ3N2lVgxUm8lcHoZKPbyk4A4DIa7SL XFaQ8oxkAUtmZ6gpngixcB6IQbh6xPuCAF74zCjISx2qSuzGu8BoW4ZbTp+Yt6SectwO uGiXYqxI7H5jmVKBwbNkql92C3HnomGOn8gt8y9ykywlB8RF5LfZCCQwZKr38ToA4qza fI6q1tRGJ2Lb1Z0ht9TQ5GbCgk8nN7DEjv69XpRKtkR3z5NZodVgGVpsjM/tnFEgCuiO f4JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=Q/d8d9FtvFLvr7ME3dVsj5LqYy1sSgbi/qeJ46Jm0aU=; b=hKXpHValptignazvhgJnJ+2+kg0T4zMaxj94NOxoqvtNCYEYG40D678SYMJZiCD9Av QOsP3hwnFjGtpzUtpvyE+veZxPhDhbVtYYqQjVAUm87L80YsOBIlCRkhISS3C9T9nB/C gKghqPIkEhCC8rbvblMkT5yoC88OMdb52mr3dNc/AlTRrR87pMmJHwgQo9YfDKikd9Mc 8uqQHk1DkPkxWe1gwvdsEEoBPbTXvx2TytAX6EkHUwFlo/M2h8f0QZ0/4JaFl2TzesmY XaeK8kHkWb3qcFFYB9XQy7xRIXlInAN6I3pkBqqqlA+g74y7Jue+KAophbTrvQdZnPUG wtSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=igmVvA+p; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 125si14211614pge.220.2022.02.19.21.11.12; Sat, 19 Feb 2022 21:11:27 -0800 (PST) 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=@chromium.org header.s=google header.b=igmVvA+p; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239111AbiBSCi1 (ORCPT + 99 others); Fri, 18 Feb 2022 21:38:27 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232054AbiBSCiZ (ORCPT ); Fri, 18 Feb 2022 21:38:25 -0500 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39B046006A for ; Fri, 18 Feb 2022 18:38:07 -0800 (PST) Received: by mail-ot1-x32d.google.com with SMTP id u17-20020a056830231100b005ad13358af9so3192625ote.11 for ; Fri, 18 Feb 2022 18:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=Q/d8d9FtvFLvr7ME3dVsj5LqYy1sSgbi/qeJ46Jm0aU=; b=igmVvA+pynBNZ+OpRVvuE3rxbpMYu4Wko1Nb6whyoNL4U/mFTtIz7mOzAWv8suyjpg qQkhX/GISFBC0mmukyAFo+aDL4DzmLx/DPsYOXeuQi4mp03agz3Vm0yt029c2g1miors 6iDhXOSShbGUBPVzQ64qq73tiFAOrEqNVneUA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=Q/d8d9FtvFLvr7ME3dVsj5LqYy1sSgbi/qeJ46Jm0aU=; b=ue2dm7R0ZFUWjicAtmRE4iWodfGrTQ4zWoxH/Z53bkRLNs4E48kj0BTnglIKpdI/ah gTH77t6OfjdapnIU6QWwBTK0CtAY4aiRK/OY2CbLv2E97ywqb4QEEUEcK6yIzbspb6U6 wR2yb9EGQH5FWyDVTEz+s+ingFSGPXzTGQfoqFum5UGBPlyjM66kFECPAiZMqaveIBQs 5voJ9MWRsMt7r6//jNmcTxhs5eXDO7+9NgT9Chlz5wBznx/EWQYhtQKF8aetEQkZQ8Mu gi7tUX66Rzl8Yfze5q3SFkrH99uUBQoaiYh+zS0aSSq0H88RXdgKKuN8FyGpYuyDBEwq 5sJg== X-Gm-Message-State: AOAM5310P8Xho0bz7cRnIAGaTuGbs5zXcn7cqXkyO7OHo0nWt/YaKXsw VRueCSbkoAPsnsHxNRSLz7momeV1GdrPEvvOOLr20Q== X-Received: by 2002:a9d:22e9:0:b0:5ac:1754:342c with SMTP id y96-20020a9d22e9000000b005ac1754342cmr3361118ota.159.1645238286645; Fri, 18 Feb 2022 18:38:06 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 18 Feb 2022 18:38:06 -0800 MIME-Version: 1.0 In-Reply-To: <1644851994-22732-5-git-send-email-quic_srivasam@quicinc.com> References: <1644851994-22732-1-git-send-email-quic_srivasam@quicinc.com> <1644851994-22732-5-git-send-email-quic_srivasam@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Fri, 18 Feb 2022 18:38:06 -0800 Message-ID: Subject: Re: [PATCH v6 4/7] pinctrl: qcom: Update lpi pin group structure To: Linus Walleij , Srinivasa Rao Mandadapu , agross@kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, bjorn.andersson@linaro.org, broonie@kernel.org, devicetree@vger.kernel.org, judyhsiao@chromium.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, perex@perex.cz, quic_plai@quicinc.com, robh+dt@kernel.org, rohitkr@codeaurora.org, srinivas.kandagatla@linaro.org, tiwai@suse.com Cc: Venkata Prasad Potturu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Srinivasa Rao Mandadapu (2022-02-14 07:19:51) > @@ -150,20 +148,20 @@ enum sm8250_lpi_functions { > LPI_MUX__, > }; > > -static const unsigned int gpio0_pins[] = { 0 }; > -static const unsigned int gpio1_pins[] = { 1 }; > -static const unsigned int gpio2_pins[] = { 2 }; > -static const unsigned int gpio3_pins[] = { 3 }; > -static const unsigned int gpio4_pins[] = { 4 }; > -static const unsigned int gpio5_pins[] = { 5 }; > -static const unsigned int gpio6_pins[] = { 6 }; > -static const unsigned int gpio7_pins[] = { 7 }; > -static const unsigned int gpio8_pins[] = { 8 }; > -static const unsigned int gpio9_pins[] = { 9 }; > -static const unsigned int gpio10_pins[] = { 10 }; > -static const unsigned int gpio11_pins[] = { 11 }; > -static const unsigned int gpio12_pins[] = { 12 }; > -static const unsigned int gpio13_pins[] = { 13 }; > +static int gpio0_pins[] = { 0 }; Why do we lose const? > +static int gpio1_pins[] = { 1 }; > +static int gpio2_pins[] = { 2 }; > +static int gpio3_pins[] = { 3 }; > +static int gpio4_pins[] = { 4 }; > +static int gpio5_pins[] = { 5 }; > +static int gpio6_pins[] = { 6 }; > +static int gpio7_pins[] = { 7 }; > +static int gpio8_pins[] = { 8 }; > +static int gpio9_pins[] = { 9 }; > +static int gpio10_pins[] = { 10 }; > +static int gpio11_pins[] = { 11 }; > +static int gpio12_pins[] = { 12 }; > +static int gpio13_pins[] = { 13 }; > static const char * const swr_tx_clk_groups[] = { "gpio0" }; > static const char * const swr_tx_data_groups[] = { "gpio1", "gpio2", "gpio5" }; > static const char * const swr_rx_clk_groups[] = { "gpio3" };