Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp565710rdh; Thu, 23 Nov 2023 11:35:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJlNcDnlwH5lwGILdnFoudj71p1c635N+ASuc+BVEoFNBuPLwD0j0DhzrjzQLuqQvmE6cj X-Received: by 2002:a05:6a00:2e9c:b0:6cb:6880:752 with SMTP id fd28-20020a056a002e9c00b006cb68800752mr527675pfb.17.1700768128460; Thu, 23 Nov 2023 11:35:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700768128; cv=none; d=google.com; s=arc-20160816; b=Tpl7ZGStSt9R1FUIvzCh1fN17Vo1O1uD7k2xAk8lkMx7sCqL/CqsY/Wyiws2d7+B4d BeHzBlCJo0J+Xq1RzxvSdPtPJMxGxgaRDzsBmD6tR5dKfxu+bYWDiY3M6R3oefc1R9nS yPtaZkTPk3tAuJIx1/bQZeU/OEP9GAYRQsgF6zQ/2LgNW7bul6mxlCLYXJvj1fiyEbsF 8EbK0fA2wV1/9ePm81dhdeUQKl8/a7OA22cgKpa9cFy/UsEYXVXCJ6MB7rIvfbes30cJ wSclKBeRAlmR3mQ90Lnrb/lPEKRd+PvUIP1jky5zgU2rokV2uYTLQnV3pR0B62PvMRjQ 5PBw== 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=o6/j60XBkz0cs1N8PQkcSMZ4tgCM5mUF5G/ULMywbv8=; b=at9KbZNuz/zrT2ulBq+z8BwUlM0KxBiJSRSi1lMddo4To354yqa28WbBbAEh0Vrq5Q WNBricF+ZvCDv56320fgQzjACUbujUobWvmqQ2OHtFMIePr4K9LphtaQxF7rSBTBXaTK 5HaWFthnLGAgU62PkO4ceE/+bypROM6Ra6ewDVpfuExr9YQLJfijOWJ++BFWaVxE2qhr Ackga1Tc3NM7EhDuRh7Y/gdFTN1RdR+Q49xPs/PzU6wfSc6U1+Z0pz+3Sco2XPEaXcAh BdOHwg6rC6PiKXydDi304PF+Kgzo4HK6A4oUJKkRQgYHUZ8CU4Kfm4nCPUD7P0Wh/1Oo H6dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BM4xiSE0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id x15-20020a056a00188f00b006c3463c7299si1795912pfh.197.2023.11.23.11.35.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 11:35:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BM4xiSE0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 00981805F2E9; Thu, 23 Nov 2023 11:35:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230441AbjKWTfE (ORCPT + 99 others); Thu, 23 Nov 2023 14:35:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbjKWTeY (ORCPT ); Thu, 23 Nov 2023 14:34:24 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5A5D198D; Thu, 23 Nov 2023 11:34:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700768066; x=1732304066; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sVrQMG6+2GAUAidaCzSxGKkLGLuxJJfZImVu6UcJOZo=; b=BM4xiSE0LW4wI5j8/vsMuH22EFGRr4y0Nxx4HVPRloxCxA3MUfuwIEzZ u+Qcf+oQY6+GydC9x3aM2wfZXEpDleAMjbow6JFCH7IMqIcmMNC5yZ4xI JffgpvdmLh6bb4fl0yKelKZpgSw5MXOiyoff8YZSl942tbDBDxWewAr48 EAxKCzBygUXkbAYcBPVxg3RZ3evdOx0ECUA2EbJCMhe/Yz34+8J8XTGMd zylbPsHOqCvRz0+DCf+q1+D954w/XRgMYXCbyt8KL98B2YF4ovM1nB6fR havTZss4RNE55FqdannyeMeLBUJfLhYuixOwPTrU/1wwhP5HE+A5dgIcP g==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="372482224" X-IronPort-AV: E=Sophos;i="6.04,222,1695711600"; d="scan'208";a="372482224" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 11:34:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="833506174" X-IronPort-AV: E=Sophos;i="6.04,222,1695711600"; d="scan'208";a="833506174" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 23 Nov 2023 11:34:17 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 736D09EF; Thu, 23 Nov 2023 21:33:59 +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 , Andy Gross , Bjorn Andersson , Konrad Dybcio , Emil Renner Berthing , Hal Feng Subject: [PATCH v2 17/21] pinctrl: keembay: Convert to use grp member Date: Thu, 23 Nov 2023 21:31:45 +0200 Message-ID: <20231123193355.3400852-18-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20231123193355.3400852-1-andriy.shevchenko@linux.intel.com> References: <20231123193355.3400852-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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 23 Nov 2023 11:35:20 -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