Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp848874rdb; Sun, 1 Oct 2023 08:03:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGWWjPmNX2hMF6Ygn6jtZljor7oLTM4H6jHVN93pfz2K2DR3dvZEEKdUnrpBN2ODoAVU5q X-Received: by 2002:a17:90a:72cb:b0:273:f138:29cc with SMTP id l11-20020a17090a72cb00b00273f13829ccmr7833670pjk.35.1696172632355; Sun, 01 Oct 2023 08:03:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696172632; cv=none; d=google.com; s=arc-20160816; b=09emr3aNeHXPs9VgzcmOxNBtmCXN+Bs2wCjjd8hsplFUk167o6WfY7qaskKmvR+PhS IWUIVSz/kNlWr62GBtVFLXbwf/iIYgESxck0Lfv7QtWhIBBB3gYaADHCibr8W3XQLppq nmBcIhz9rXn9E7xiWU//1ZWV8ZENXAdwgV/ORuu6YipHrN4c5iKrVLxbOEXdr6O/FAbG Sw/xEWvxq+XpAJYUtc4UMNtDjRzQ0q1K68ha7uvPJeQFjsdH1te2QRwkeyUbpJ9q2+Jh 2SGpVIed+gRO1PUcacot46OZfKO1AQR1nMp+FvoHaAYwTJzugp7XlQ0dCn6MtrcIgp93 oiFQ== 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 :message-id:date:subject:cc:to:from; bh=hIHbPrqAmO4ryvoVizmzSZjLJAQb2EiJco7eAcDi/c8=; fh=xeSrQ7kCdgcCVb2zAn5rBkDAdtmCo24cOODwKpU9NDo=; b=nKtpspKsKE+0yyJFTX7/7u8bH7P7qB9RDrUyh3N2urZpJ8ZshW0GQdBGj/yyuIchN7 WsVLgY8vw6TNNgTuokk1Mnr6Yl/coPQdV/UPG9y+0m8zKdppR8CIqzZjFUOzZR+tf1hp AUTnQE39HSvKTmlRtpkfussWGjlLL1Lu9z5tZvCeYyv96FAWDLMyJxud8Sj1V1Y486WX NU+IwpefIORAOde+EP39lxePE2zGwPzI0rM7iDJQnzwEdMtyYOder+FMXChtRim29MtQ r9m6VkM20ajjj9l+EWzmXzjStjNyCH/hIAYxVaznuqkhb1OutvHY8ODq7yeox/yG4alr HdXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id p19-20020a639513000000b00573f786103dsi22958652pgd.754.2023.10.01.08.03.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 08:03:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C170580964FF; Sun, 1 Oct 2023 08:01:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235123AbjJAPBZ (ORCPT + 99 others); Sun, 1 Oct 2023 11:01:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235118AbjJAPBY (ORCPT ); Sun, 1 Oct 2023 11:01:24 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 20FC6D9; Sun, 1 Oct 2023 08:01:21 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.03,191,1694703600"; d="scan'208";a="181547657" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 02 Oct 2023 00:01:20 +0900 Received: from localhost.localdomain (unknown [10.226.92.25]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 1A73E420633E; Mon, 2 Oct 2023 00:01:17 +0900 (JST) From: Biju Das To: Linus Walleij Cc: Biju Das , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Biju Das , Andy Shevchenko Subject: [PATCH v4 0/3] atch data improvements for mcp23s08 driver Date: Sun, 1 Oct 2023 16:01:10 +0100 Message-Id: <20231001150113.7752-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 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]); Sun, 01 Oct 2023 08:01:39 -0700 (PDT) This patch series aims to add match data improvements for mcp23s08 driver. This patch series is only compile tested. v3->v4: * Added Rb tag from Andy for patch#3 * Removed duplicate mcp23s08 in the name of variables for struct mcp23s08_info. v2->v3: * Reordered patch#3->patch#2 * Added Rb tag from Andy for patch#1 and #2. * Added struct mcp23s08_info in pinctrl-mcp23s08.h and both i2c and spi drivers using same match data structure. v1->v2: * Arranged variable declaration in reverse xmas tree for patch#1. * Updated commit description for patch#2. * Dropped printing 'type' in error path for i2c_get_match_data(). * Added similar simplification for SPI driver. Biju Das (3): pinctrl: mcp23s08_i2c: Extend match support for OF tables pinctrl: mcp23s08_spi: Simplify probe() pinctrl: mcp23s08: Simplify probe()/mcp23s08_spi_regmap_init() drivers/pinctrl/pinctrl-mcp23s08.h | 8 +++ drivers/pinctrl/pinctrl-mcp23s08_i2c.c | 93 +++++++++++------------- drivers/pinctrl/pinctrl-mcp23s08_spi.c | 97 ++++++++++++-------------- 3 files changed, 95 insertions(+), 103 deletions(-) -- 2.25.1