Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2726042rdb; Wed, 15 Nov 2023 08:50:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IGiS7wrQvQP6a9+pUGrNjR0KtYQe5RmXmFJNj3DT4SK80ONnb5QxM91NHsur5Q4eNuoF9sh X-Received: by 2002:a05:6a20:12d2:b0:177:a131:f31c with SMTP id v18-20020a056a2012d200b00177a131f31cmr8323486pzg.13.1700067056469; Wed, 15 Nov 2023 08:50:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700067056; cv=none; d=google.com; s=arc-20160816; b=mKyY6Dmi+cLeW7AzVonfz08ndpCyUVpC7PcyLrxJ9WY2pK+taUI4Nv/Ocst1PXepwg EA/t1fC6UbDr5KdNslA+aEIqBOFvpbnEuPZ+U+CGmJxLiv9kzeWXd/7qD7RzIT22k7b1 T1zKQhOQXcIK+ce3/4RyvFJWc0NMW3nRfqhx8Bb81/pNh4PiXOtMFIJ136Eoj+UviWCm 0tHihbDOfqmAZJW170oVtqni7etJTGLZAoCnOCHlTHVg0dtwvcW1vti56OJ3ZtcS7qL1 6dAdwrnfA9l+kU2vYdphN3XtPXpnK7mR1zOREGcBTZ2/xcskaviVG16cQyMKeea9Gy4x GI7g== 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:dkim-signature; bh=aC5w+N5Heh6KPJfLTmPFbd48gQJyNdKHiN7BtvnhWX4=; fh=kOxmq+prcfKKX/dgMaMxTb6TRjzyc//QKXZBiaS/a94=; b=cYvArSRXZ8PGkgmH2W0l57zgDzCl5E2UwIhzKamriPP3nfZOdtVJ8+NuqjqVsFElRq SQFgGaSrWKPnkh5wx/qEaW4Q12EpuVVqIJ2pms4Lz28fh71VOXT2XN8Yq+LV1EZI+d3M 0zSOpI6cvWue4QRBBCWLSKO18nNbgxOENcS785UvRA5Ui/d2DdtnoPLPdKKySX5Q9ZuK tNqmzgApucm5wou0WVMPOG1hOE49cA5TAH7pBfeYuLOIN7vCfSARDnjJl6umquimAN+e gTmWmdVMevC1rCPHvLcC4Cqa+jmHHAM513i5OAWxRBMhuX2NIBX2yPAaISYCYCHtx/0A PhmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=IE6usIVb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id y16-20020a656c10000000b005b91a58721esi10825842pgu.316.2023.11.15.08.50.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 08:50:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=IE6usIVb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 311D98072A17; Wed, 15 Nov 2023 08:50:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231745AbjKOQuJ (ORCPT + 99 others); Wed, 15 Nov 2023 11:50:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjKOQuI (ORCPT ); Wed, 15 Nov 2023 11:50:08 -0500 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA8D2126 for ; Wed, 15 Nov 2023 08:50:04 -0800 (PST) Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-670e7ae4a2eso9390336d6.1 for ; Wed, 15 Nov 2023 08:50:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1700067004; x=1700671804; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aC5w+N5Heh6KPJfLTmPFbd48gQJyNdKHiN7BtvnhWX4=; b=IE6usIVbu/wLj2HfOCYgU6Y38K8qnbu6Ff5lfBZpWHUEfzDvn++xf+Gk4/tmyJZX8I vUjKrPk80iZ0mMKyISeIsPfLtEFj4naapo6pP/0D51bzVCxv21Tzyo7Qosvgwaj7Tiqu 9DVS4RNTZmOmGOeOwco6hxtdVntxLu28fmC/ro5JmdE4IQ6pt/ERlzWDB0UUS9oBhL6i OI/EA8+I2pOEpkYwbD/uLD6N0lqtt0vR5hlJvhAwIfZkAhaOmdepp0NjXJ21C1KNdrhy KVc0MNeoYHqNolgfJkCaQlj8ZoBqn/KdbjBtunSlRShbw7w25UMx4rFcucRG0SeGZu48 kJGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700067004; x=1700671804; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aC5w+N5Heh6KPJfLTmPFbd48gQJyNdKHiN7BtvnhWX4=; b=rYmF1C1Ox4cx60kxcwFu+YA5OR9ZtwlPnqpr/y1O4TlcF8MvSMbcvNIeT/n3FUkebn pTdRN0EJoCA3pZxGHMDu6KqSyAdmsitnSzw41Eu3XTkKZys9zw4TNKj+mx8lUv5Bi5MY OFGXALNBR3XUbCnmjii4iBYj4Y/QvG9Uz8RiFbmScSem3BeTjN/PP3Ras7B9R5NYNmMQ H8uGE+6brY/+RtyYWdgNiwTEwLCrumdImjcCMoHpbxWWuohHaMGfjuaNArtZ+pZPh80K 46KIeCkaB+m/tgiLQWFPXtXFZzMC/0U3obCzwYrqF9fqbsVhWdD7LbE/tkVE0xTbeoqB In3w== X-Gm-Message-State: AOJu0YxuoTM3lKB/GP3myBfQV44gGsxT85oH9ngUgVJIjAtBIzout9Xd Km4W88p+qyl+Pf0KOegjrZYVzA== X-Received: by 2002:a05:6214:c2c:b0:65a:feb1:ec46 with SMTP id a12-20020a0562140c2c00b0065afeb1ec46mr12565814qvd.6.1700067003998; Wed, 15 Nov 2023 08:50:03 -0800 (PST) Received: from brgl-uxlite.. ([12.186.190.1]) by smtp.gmail.com with ESMTPSA id mn16-20020a0562145ed000b00670a8921170sm658781qvb.112.2023.11.15.08.50.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 08:50:03 -0800 (PST) From: Bartosz Golaszewski To: Linus Walleij , Andy Shevchenko Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 0/3] pinctrl: don't use gpiod_to_chip() Date: Wed, 15 Nov 2023 17:49:58 +0100 Message-Id: <20231115165001.2932350-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=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 fry.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 (fry.vger.email [0.0.0.0]); Wed, 15 Nov 2023 08:50:27 -0800 (PST) From: Bartosz Golaszewski Let's start working towards removing gpiod_to_chip() from the kernel. Start with pinctrl. The first patch should go through the GPIO tree and become available through an immutable tag so that we can get more conversions in this cycle elsewhere. Bartosz Golaszewski (3): gpiolib: provide gpio_devie_get_label() pinctrl: stop using gpiod_to_chip() pinctrl: don't include GPIOLIB private header drivers/gpio/gpiolib.c | 14 ++++++++++++++ drivers/pinctrl/core.c | 18 ++++++++---------- include/linux/gpio/driver.h | 1 + 3 files changed, 23 insertions(+), 10 deletions(-) -- 2.40.1