Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2029440rdb; Tue, 3 Oct 2023 08:14:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHvR6Rgyyyru/sk7Dgr0b+lQ3YGPixmVor1XZdbMUpZEpkSVMarjC8yRXi2dYFrwZ3VgnlW X-Received: by 2002:a17:90a:e88:b0:269:c7d:aac5 with SMTP id 8-20020a17090a0e8800b002690c7daac5mr11417698pjx.3.1696346092888; Tue, 03 Oct 2023 08:14:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696346092; cv=none; d=google.com; s=arc-20160816; b=kbk6Kzzg6lHja94c07foarlPosWQ3/UFsH6m+TnzG0js/d/6Bn2fUqI0XhKMMDvc3c TitzOw3JLq8g8Xct1riujIWFa6QhdMLgti/CVXmYsev6WlqTIVO992MREBD9roz+OHL2 EIEj+DF/AmCWF7nHCB6/2IPRuVNXksE4tHrxsmlP9OZaT+4NDBAsHdgRilMeh7w9uSPD JrU/RlDgeCAKS3V2rpf0lmDoBKg8lSLOEBfFI1xIRlEKzzfzesdu8iTMcH1SpkqF7HCl 2PnVN6NOaKcuLWmSDEt1Yn8SrOYhv/TsEFBTofYxAk6R+2lQY2psYrvsX204AwT8mBW4 RONg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Q9v1BXZnCjiIfMQyrGG/Xux/yOjBTOVdEf4NCm3iTbU=; fh=YzFeta9wbBtFdHfbuNysZnSe7+crMJ4Xa6Ln/x8p/7A=; b=WLX49s4C7ZGrjKhR4hgNubxx7ZgAOH5jG4/+wYYTYuG2GPT3THnyHhPSVl7MaEXdpr 323pVahsUn0Y+vbHOWRgRpDKXjHoikitgDA2mQYSN6op9IcWhC3OqIQCDS3x3e1ipAKG ztjoJPq3y2mnvFj87xAvGotP568SyLNnIoMVw+QbzcW4ahSOpF8GccgA9/9mTyVoe7Jj ARKzK/xrtRXOTQJglrUROpxHLAxdYE/zyaYmY2Ea9H6zUBuELwA0IDNMYFk3HeLmopsd QBnjm1rkuYF1hHSJ5vp6O7JAcfTioraQmfENXmloIk20XUplwjkh0cjUr/qLPWRZV+qw qqiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ilw0iZs3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id mh6-20020a17090b4ac600b002736ff3cc79si11403269pjb.23.2023.10.03.08.14.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 08:14:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ilw0iZs3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id F19E381A1E99; Tue, 3 Oct 2023 08:14:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230511AbjJCPOu (ORCPT + 99 others); Tue, 3 Oct 2023 11:14:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbjJCPOt (ORCPT ); Tue, 3 Oct 2023 11:14:49 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B04EA7; Tue, 3 Oct 2023 08:14:45 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3ae35773a04so661405b6e.0; Tue, 03 Oct 2023 08:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696346084; x=1696950884; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Q9v1BXZnCjiIfMQyrGG/Xux/yOjBTOVdEf4NCm3iTbU=; b=Ilw0iZs3ZUT68UcIBCp4AAIvFrL/ujNKO4M1f0VBKUCcWyGQ7guTtu2fJTR36F9BJX 6EuATXNwZKd+TqLWLjuWFBYBjUqcGaAAIj/dYT5iBYc21CozmQ+rBL5rgyiy+13y8ECw BtkUhGpUVaw0kU3gL7J+MmZHXq2lOEDL+KZ1x1Jmo6tRe05YCBkQbNVGK96IpYONaJU3 df+O/m+85pf+lEjAu+nF/Uz9FvPHNo7520x8+zaCUq0pio/KNlFOgPVYgWVbsHdJCpyt VmSmti2LjBTxeReryqmXeeo0Kz3C4bDqKSELcFr1zXdBvJYljJf65hD9OihaWhkH9CPT qRJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696346084; x=1696950884; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q9v1BXZnCjiIfMQyrGG/Xux/yOjBTOVdEf4NCm3iTbU=; b=Mn/a9/nuQK6OaYYR+8vgrGvvOVyiMfnquOMSAItO2c0Hvqe1IOkeL42PjRfKyyS7mP qjyYsfM9vRnQuRIcyC53gGL3o0vCaUIPheVuCv+c0GQNW5Vk0eMap7ffy2viAlRktsGZ xov2ibPXM/ufrgYkFP8Wxff+v/W35mjIwnN/X20g+M/LMsCToP0GRJJprKzU7Xmad3J5 S0SO3Omn9jCdUUKQMdbcNBSMhrnb6WCQ/v4qQSrKniMwk+7GBQpvU02hitfhYGtFqRQp aPQA/p7ScalyUYoXtXUYV1CMmlBUBASKMTQ5mxmPb79RLWFM/6AjdCTUWRKW/cahb4JI y6lQ== X-Gm-Message-State: AOJu0Yz0KxFpVQS5zp9WArJg4PreDQ5mXsDTHGxu+z3FeGcpv9EjfeRe nUPMVMwVzPc7zMsIcoX5KPHI/m2rCmnwzgZoVQU= X-Received: by 2002:a05:6808:188d:b0:3a7:1962:d7ff with SMTP id bi13-20020a056808188d00b003a71962d7ffmr16202926oib.57.1696346084672; Tue, 03 Oct 2023 08:14:44 -0700 (PDT) MIME-Version: 1.0 References: <20231003145114.21637-1-brgl@bgdev.pl> <20231003145114.21637-4-brgl@bgdev.pl> In-Reply-To: <20231003145114.21637-4-brgl@bgdev.pl> From: Andy Shevchenko Date: Tue, 3 Oct 2023 18:14:08 +0300 Message-ID: Subject: Re: [PATCH 03/36] gpiolib: generic: use new pinctrl GPIO helpers To: Bartosz Golaszewski Cc: Linus Walleij , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 03 Oct 2023 08:14:52 -0700 (PDT) On Tue, Oct 3, 2023 at 5:51=E2=80=AFPM Bartosz Golaszewski = wrote: > > From: Bartosz Golaszewski > > Replace the pinctrl helpers taking the global GPIO number as argument > with the improved variants that instead take a pointer to the GPIO chip > and the controller-relative offset. With whatever name of the APIs at the end, Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko