Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp515536rdb; Thu, 19 Oct 2023 10:36:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGT3C+X1O+PjqWkOs0r70fcXSrZw99LoSN7zVB/3Oe2uA1C3gdITmlmZ9EJ+srIvDuPRh2k X-Received: by 2002:a05:6a20:3d8b:b0:140:730b:4b3f with SMTP id s11-20020a056a203d8b00b00140730b4b3fmr3131340pzi.1.1697737006519; Thu, 19 Oct 2023 10:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697737006; cv=none; d=google.com; s=arc-20160816; b=mv6aidGiwwkMR7X+OmiZGqOpmbOtloFhX2mTJhalgebkBt4A+X7W/+TfXpoChbztXG dKPNWcX43iLtCHezv+wDemiib0F8Pa6BW9cHG2JedHxzfAc2cQVql4Zi4QUGjdG1iJca vjz7lhzT2z1OnvdqHgIlU4JFUqT4Sm43sJTmJBs68/OY9mTXC27lTX2jVoTOlXB+4moz hJXYQ4IRNsSRgx48flTE8bqDLDaKPzpWFkVtu+2gHTMfjcqqT0trpTlExhq74inEUt6N m/tW3wJz8BdXengSD3ZrmRK73EGwlxlEndGLLa/LVm7kNcGY57IHV9KdJcKqvqbdpmxI te/Q== 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=WuIJ2vDARz5mqsjlHDfnn1Og352n8+cvPwoZvj9+45I=; fh=KI6kzTHABeoRKm55ubpLkxSKaitPARBYTtAhMo+hnoA=; b=l/ZV+vti25EXhehya/tQwc0fcpNfoamu6cEs1IP0mdZ+v7XrFc9GszjaUuYRNV8eWT mpTlaHvDzOpqf1aBFtr8gOQrWgGGTVuRGvRTXGcW58Di8oVVAVO/839xftlOIyey1yUP fkZHizZfJskNDZO3SUXUIpwBUNz4f5GsgwpgXWNc5NgdiULnPI2g0EWH9FUcxLt6PdaA XLI85AgXpczvGbNhk7f9IApFSeTpWPmpi/k9LkXPAbHi+KkK0si3GR0V+GFHTwKwOP2Z 25ZnUs8NxfIsGP0qfpzRMoBHLOvkr/3kMK2goFeHd8zBs77n4TzEL6k3EyW55pt2gqm1 4dkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JksnQeSf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id ck28-20020a056a02091c00b005af21fd2c64si35942pgb.870.2023.10.19.10.36.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 10:36:46 -0700 (PDT) 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=@intel.com header.s=Intel header.b=JksnQeSf; 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; 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 fry.vger.email (Postfix) with ESMTP id A73C2805F401; Thu, 19 Oct 2023 10:35:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345973AbjJSRfL (ORCPT + 99 others); Thu, 19 Oct 2023 13:35:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346316AbjJSRfH (ORCPT ); Thu, 19 Oct 2023 13:35:07 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 685DC106; Thu, 19 Oct 2023 10:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697736905; x=1729272905; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gBdBqK0lr5M7oMLjhnyfiZtfTMF/bpomSSs0LTiNgSs=; b=JksnQeSfy+KRhHPNCOC6a27QyhSac0gmNtntkm8qAS7C+I59vRe+YoNR YdD/HaR9iDAqpcMGUDeVtk+s1scWOdyM24EFAKvrGwHxc70UlwSQV7lZ5 UbIwpD8gIzBTypgN8yWGEtEniAdQ2prdI7q55JUdHKC16lrDgt1Bf6kJk uoneM9plqNxoH/QgUTUPGnkQDvdPsADxuYf0T0Rm2zMdJaR9KB+/m+Ej5 tejhg9uAgIbbJD5ElF4YOTgOgL/kDmi4a/Zq+coCqchu+1NGHV3eYp2A8 zyRnBAxv45YqBgNPcdRzM7i/nrGJkh7AUUjCtelRQbESs8zxldXXPfFa/ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="389184242" X-IronPort-AV: E=Sophos;i="6.03,237,1694761200"; d="scan'208";a="389184242" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 10:35:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="760723565" X-IronPort-AV: E=Sophos;i="6.03,237,1694761200"; d="scan'208";a="760723565" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga007.fm.intel.com with ESMTP; 19 Oct 2023 10:35:02 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 3162E17D; Thu, 19 Oct 2023 20:35:00 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Dmitry Torokhov , Bartosz Golaszewski , Linus Walleij , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mika Westerberg , Bartosz Golaszewski , Hans de Goede Subject: [PATCH v1 0/3] gpiolib: acpi: More fixes to the consolidation rework Date: Thu, 19 Oct 2023 20:34:54 +0300 Message-Id: <20231019173457.2445119-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b 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 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]); Thu, 19 Oct 2023 10:35:27 -0700 (PDT) On top what Hans already fixed, Ferry reported a few bugs that pointed out to the same consolidation rework done in v6.2. The first is most serious issue, that needs to be fixed ASAP. The second is good to have. And the third one I'm not fully okay with, so open for advice on how to improve. Note, that long list of parameters to a _find_gpio() functions can be hidden in the specifically crafted a new data structure, but this is out of scope of the _fixes_ series. I'm all ears as well for that one. Andy Shevchenko (3): gpiolib: acpi: Add missing memset(0) to acpi_get_gpiod_from_data() gpiolib: Fix debug messaging in gpiod_find_and_request() gpiolib: Make debug messages in gpiod_find_by_fwnode() less confusing drivers/gpio/gpiolib-acpi.c | 10 ++++----- drivers/gpio/gpiolib-acpi.h | 13 ++++++------ drivers/gpio/gpiolib-of.c | 13 ++++++------ drivers/gpio/gpiolib-of.h | 8 ++++---- drivers/gpio/gpiolib-swnode.c | 4 ++-- drivers/gpio/gpiolib-swnode.h | 1 + drivers/gpio/gpiolib.c | 38 ++++++++++++++++++++--------------- 7 files changed, 48 insertions(+), 39 deletions(-) -- 2.40.0.1.gaa8946217a0b