Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4699344rdh; Wed, 29 Nov 2023 08:17:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkVIYtDupuYLk/jMiOUaw0JVI9Lk2a7p2PqNgi3v/7MgcZgi6MUtYMz3lVCEEYIyVCve6B X-Received: by 2002:a05:6a21:3514:b0:188:1df7:9afe with SMTP id zc20-20020a056a21351400b001881df79afemr21547250pzb.30.1701274670947; Wed, 29 Nov 2023 08:17:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701274670; cv=none; d=google.com; s=arc-20160816; b=WYSj1y6aduEkjmBtFbKC+GWgcT29ksMFoOvQdGrJhez2pFWirHEgpogdhlt4z1oMFp c6l3gFy+aitCevqEmQa00KaPya/amJ3KebGecZYhJvya3xbPLf6UZZTZR1x4JiglM0+Y ULq/Uu6X/8/IpNZgg6F/rkPrLO3nqJIeifBxe8OkTYxG6c09+WYst/BAPgCHJfBciIwu qioCoaDbU2DsBSmqR1yxaL2twLkuUnUf3RAIpsMXcfD3u7OyJa4Qy08MaB5VH4Ojx4p7 Rkv4+GPsL7aIQNsiKYlP0kw/Br8pc3yj+IQdI/Hiwq7ah59BCJBHhjTLhixP1km8Tvrt j2WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ex0DQSNg7EFszQtX5RoiVJcmeDxP3a9mRzX0fzbvuKE=; fh=p5qGgOuQ1qdHRKXQ3E7ZkEX+heMqfz4xi8z6J8C0/aQ=; b=DnT6+bzqt1JZN33bqhCrDI6oOPCo8QDHxJ3513Fe1uRgoWf0Nxj38gMtWrysvTa8uk 1Ct6iEz/y5zexSEnZG0xTi6SEylCCPXu5sfzSfWquXxKIOOegF99Z7HrrdrpeqfGWjS3 rvTcEwls7z0dZpxGt1yyZRC7l1/nOJatz5whbVahnL88T35rbeK7emhhX7Dks4AemPaK S8Mn/JKwO5EXclgHgRPKy7zZ8Ez+8Nj7fyL4c2/Usy1wpKQa19v6zQ7aVw0FYyl8w+4B rmpDGYi4JyJKBjgElbPwnGyDHSWImxMEi5mFgolQ8FAgN4GqYXLHZ03jIdmWyL+UKTR7 pw1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="FvpRglM/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id c15-20020a631c4f000000b005be00724141si14659285pgm.533.2023.11.29.08.17.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 08:17:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="FvpRglM/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E6BB9802CF8A; Wed, 29 Nov 2023 08:17:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234837AbjK2QRQ (ORCPT + 99 others); Wed, 29 Nov 2023 11:17:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234391AbjK2QQl (ORCPT ); Wed, 29 Nov 2023 11:16:41 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B81071FEF; Wed, 29 Nov 2023 08:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701274551; x=1732810551; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sVrQMG6+2GAUAidaCzSxGKkLGLuxJJfZImVu6UcJOZo=; b=FvpRglM/dN514zPcJPN7+P6tO8Kaf3jrZ3PkLEI2S9u7ycWnNMXeW7fI Swbe0RyEcz/cAEI6GDscOuvm639qb3f1cQaVmpeYl6PYrDQhkuLf2cPsU ZjJzFKLrHnFO7/d/i2rnFkYptDVRLr008sWGB1euG07HzRO+QvR7SV2qp /mBBMJVEbIv11tZXILqQupLTs5H+fyoIUL4Uj1rNmfIPA5z5jafVpxLmP CFCyh7nng599U48C7cXbaKRKvd+CmM0KadtO5IHe+n2MlyZcvD6MFkuhw 61ZpCdxys5bKDb8/KKFW717G5WkPCgOmOkuyNP5dguLwd1OQ3viGNsRMv Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="373372933" X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="373372933" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 08:15:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="892498914" X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="892498914" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga004.jf.intel.com with ESMTP; 29 Nov 2023 08:15:21 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 41FFCBD5; Wed, 29 Nov 2023 18:15:02 +0200 (EET) From: Andy Shevchenko To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rasmus Villemoes , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Krzysztof Kozlowski , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Geert Uytterhoeven , Biju Das , Claudiu Beznea , Jianlong Huang , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, openbmc@lists.ozlabs.org, linux-mips@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org Cc: Ray Jui , Scott Branden , Broadcom internal kernel review list , Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , Sascha Hauer , NXP Linux Team , Sean Wang , Paul Cercueil , Lakshmi Sowjanya D , Bjorn Andersson , Andy Gross , Konrad Dybcio , Emil Renner Berthing , Hal Feng Subject: [PATCH v4 18/23] pinctrl: keembay: Convert to use grp member Date: Wed, 29 Nov 2023 18:06:41 +0200 Message-ID: <20231129161459.1002323-19-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20231129161459.1002323-1-andriy.shevchenko@linux.intel.com> References: <20231129161459.1002323-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 howler.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 (howler.vger.email [0.0.0.0]); Wed, 29 Nov 2023 08:17:44 -0800 (PST) Convert drivers to use grp member embedded in struct group_desc. Signed-off-by: Andy Shevchenko --- drivers/pinctrl/pinctrl-keembay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-keembay.c b/drivers/pinctrl/pinctrl-keembay.c index 87d328853ae4..b1349ee22799 100644 --- a/drivers/pinctrl/pinctrl-keembay.c +++ b/drivers/pinctrl/pinctrl-keembay.c @@ -945,7 +945,7 @@ static int keembay_set_mux(struct pinctrl_dev *pctldev, unsigned int fun_sel, return -EINVAL; /* Change modes for pins in the selected group */ - pin = *grp->pins; + pin = *grp->grp.pins; pin_mode = *(u8 *)(func->data); val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin); -- 2.43.0.rc1.1.gbec44491f096