Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp1256161rdb; Sat, 9 Sep 2023 17:14:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEB9rMCqf1C1vMhtSjS/aVKHbsKUbf7iIZF99rKQIbWRi4ckipJoP8eDS3mL1nWprjW5R9Y X-Received: by 2002:a05:6a20:13d2:b0:141:d640:794a with SMTP id ho18-20020a056a2013d200b00141d640794amr6641222pzc.39.1694304863429; Sat, 09 Sep 2023 17:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694304863; cv=none; d=google.com; s=arc-20160816; b=Fxz2/X8/E+0oAmrgIRZ9mOtRjene5ym7nS1Rtny7yjv7RHzOzqj/hmvj4SadWg4Z6X 0+nnGxSKiRUBH0jZEEeugGJlx/fKHEEkbx5+p0FFQc/y5f9V38NqlpK0wAXF1mBoWgRw bg65re6VnMY0e1+QhzevDGhz2tp/Q2w4rtxz7Qgb2Gg8+8DsbdPFU2vqUDPtZ14J+pE9 tQxWAhjOqCpv0Ze1S8gurJY/4ewrkqA2JAposaZBJShwqpszskgtPWatDteUHLTrDJI1 +z8qsx02zqThBMcnZetPeBVMRqSjOGPM1tvvyZsfzNsir+ef1+aY4DU9hH9bxKt0HJNN 76ew== 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=z93nTWdsF7qU4HKm6/08pm9KzmftuYygQsDOCIxyPBU=; fh=xeSrQ7kCdgcCVb2zAn5rBkDAdtmCo24cOODwKpU9NDo=; b=A6ygo3PTFAZpAe60g4S9M1YmDOMqWKPNmotlB+erHe6tlQVrjZDDw469d/A9GUo+AM O+ErTWSMSXgdriS6S5bgO3YBBkl9TeIykACdj+vVaThpJvmbdp+o3hjsrUvlCDOWyFAz xFWVdQ0jK3n8I3QVhrAsC2vgBYpByX735TR1HG9jNhyRdIZ8Il7h3dNt94ATkn7PYpv1 mkuxuARXMKMvu5jxjBjox2Ke60gep0b7M7aY6EgwCz9V04mp+cSYb4t40HAXXRU3J8pY sObJV/ZUedyjz1z4I4JCIvj9la5mTVOAyTYFxg5Q/3K1ONn/vRlQksYVQfeVqhtFCr+7 rhLA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z16-20020a656650000000b0057755b2f032si816686pgv.542.2023.09.09.17.14.03; Sat, 09 Sep 2023 17:14:23 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345589AbjIIMTR (ORCPT + 99 others); Sat, 9 Sep 2023 08:19:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233109AbjIIMTP (ORCPT ); Sat, 9 Sep 2023 08:19:15 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BB890CCA; Sat, 9 Sep 2023 05:19:10 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.02,239,1688396400"; d="scan'208";a="179248591" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 09 Sep 2023 21:19:09 +0900 Received: from localhost.localdomain (unknown [10.226.92.15]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id F0EC241EBFFC; Sat, 9 Sep 2023 21:19:07 +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 v2 0/4] Match data improvements for mcp23s08 driver Date: Sat, 9 Sep 2023 13:18:59 +0100 Message-Id: <20230909121903.34062-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=-1.9 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 This patch series aims to add match data improvements for mcp23s08 driver. This patch series is only compile tested. 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 (4): pinctrl: mcp23s08_i2c: Extend match support for OF tables pinctrl: mcp23s08_i2c: Simplify probe() pinctrl: mcp23s08_spi: Simplify probe() pinctrl: mcp23s08_spi: Simplify mcp23s08_spi_regmap_init() drivers/pinctrl/pinctrl-mcp23s08_i2c.c | 101 ++++++++++++------------- drivers/pinctrl/pinctrl-mcp23s08_spi.c | 101 +++++++++++++------------ 2 files changed, 100 insertions(+), 102 deletions(-) -- 2.25.1