Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4180751rdb; Mon, 11 Dec 2023 11:04:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkBef758HVU5eluFlSuGYtyNa6oMKnQhQnD7K2EEuYu0iJHHuIy2qiv5dmuSNNanUuT/tT X-Received: by 2002:a17:903:428e:b0:1d0:820a:ceec with SMTP id ju14-20020a170903428e00b001d0820aceecmr5943410plb.55.1702321470895; Mon, 11 Dec 2023 11:04:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702321470; cv=none; d=google.com; s=arc-20160816; b=voSra8Xobyj6ilf2T2jLAMFMazaKB6PAHLVC1Utr2rGcBP4tSa1JXZw/RjRvGSvESS ES6WXWd4FFUrUDEMXCXCO2Zl1Sy2SO5j/bHwjs8KrctdjM0u2OhB88qbOFBYweRwvf44 Q5dddNh1SdaGzCgi+K0QPQpjMlB4Nz4vL36sndDFW3FXD/neMTDFv/CnCxArC0Q3B9tP +YHpXsmFtysBz2Sly1xLIKBA4Fkzr3GatkUQ3zgPq84yLV2VyTzGTpaQM9pY/9fpWPTJ s+NbBoKEgvjM7+q8ApeJTUa8HDu/nUDWMM3bDzUU3dp0JhZRtRB7eTybH27wl2JuyUJk GUDg== 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=waExHo8nymxnw0Irp+kf0mQMDuzgQUTuOqh3gnX50CQ=; fh=uj0Z2SyYowlbgQPZGFjUvktLAqf7tvIwEfCWEzCNe+c=; b=zKEl7LcjHBdM+cJPZScwD0g+ApnG1EzPhZRWtjnIRw9jbbQz393OGf16uokrAfYEUU pRPrdqYShkVoGPgNuDwYnyLvrCqjXCBztNCX+WeyIaGxivWVliOTTfFtNYEbbzBC//Ac ul3HRsMbczaSgBBE7Hbtf5BusE8aOq1PwS8+BZmJQWqO3Q1PeO2X5JeGd9yhulD3dMZM 6J2YFWwkC/nC71qGsVPj9XdQqsFhHjOnAEkcKQSoWDQlVkU376/XnRscOTig58CVool8 QNZn+Y3ILIoUnXIiFXLo5h8l820UYF14GkQ4/VbDXJ1Y/DbgeafRRrtNgOLysxluA1eF JgXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=D8SyTugK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id y8-20020a17090322c800b001cfb316a183si6622323plg.141.2023.12.11.11.04.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 11:04:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=D8SyTugK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 20F478058C44; Mon, 11 Dec 2023 11:04:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344835AbjLKTEB (ORCPT + 99 others); Mon, 11 Dec 2023 14:04:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344458AbjLKTDm (ORCPT ); Mon, 11 Dec 2023 14:03:42 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48309FF; Mon, 11 Dec 2023 11:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702321422; x=1733857422; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UE0Gnq7QTOX0XZMLVZj8fxiT9b1zuhOQUELXDpvqOXI=; b=D8SyTugKuhsqWbuHVlL3uXBdzj3gkTH2MdurSxtUJkLE8eRI6AIdbpdY upxoym7Cj/Vv9dN/8ik2EaTu8uuZqx8iA3Ftr9Q13YPXzOL+eWBjcGrp1 mpcbOZ5C2QlNeMJOdqf24GzjEvYCkTv4BENzplLrNvaNMfeTlNh/nnR2I vUfQGZWedP+mME2sBxZGEUvMoO6PpMpumOK+eUpfTuFD1k3XBcI+pyRZ4 DGquZyxJ0Sce9Ggc68c0Gvbk8y1nNwO0iB+Rpo2zbmS5OK7rURK1GcQow enEWbX622ZJ5wBVli8bzygoygmmfbL8o81a2tAJ5o/B06+/0bg52jpSlX w==; X-IronPort-AV: E=McAfee;i="6600,9927,10921"; a="379692563" X-IronPort-AV: E=Sophos;i="6.04,268,1695711600"; d="scan'208";a="379692563" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2023 11:03:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10921"; a="946445107" X-IronPort-AV: E=Sophos;i="6.04,268,1695711600"; d="scan'208";a="946445107" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga005.jf.intel.com with ESMTP; 11 Dec 2023 11:03:32 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id C8AAD865; Mon, 11 Dec 2023 21:03:23 +0200 (EET) From: Andy Shevchenko To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Geert Uytterhoeven , Rasmus Villemoes , 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, linux-mips@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 , Emil Renner Berthing , Hal Feng Subject: [PATCH v5 09/13] pinctrl: keembay: Convert to use grp member Date: Mon, 11 Dec 2023 20:58:02 +0200 Message-ID: <20231211190321.307330-10-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20231211190321.307330-1-andriy.shevchenko@linux.intel.com> References: <20231211190321.307330-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 agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 11 Dec 2023 11:04:28 -0800 (PST) Convert drivers to use grp member embedded in struct group_desc, because other members will be removed to avoid duplication and desynchronisation of the generic pin group description. 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