Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp990514lqh; Fri, 29 Mar 2024 03:57:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV3cP7+5bT82JTctNvT2wEkQ70G9AG+dIgma7q+SOTZaeYVxRX7PyIusdAKr7UKEWscAwPDXiOshqdHz+QLa5iM3xVF0eNCdXQMtvBGVg== X-Google-Smtp-Source: AGHT+IEo/fLmePj5WDyeVmDgYIYYvXVKckCHDKksGBxb33I+4qOS1J9ZbLWR+KP6//CWoSGPDE/r X-Received: by 2002:ad4:4b32:0:b0:698:f0aa:67b with SMTP id s18-20020ad44b32000000b00698f0aa067bmr1278872qvw.52.1711709827013; Fri, 29 Mar 2024 03:57:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711709826; cv=pass; d=google.com; s=arc-20160816; b=ViqOmfNdX+nY3W6IowsiocK2yiPmtD1xNforcj2GxcUHGkouY7akGhGSMGEJmWLvd5 gUtqiH6wXoYI9GvDCLTu8RjVnld/QoL1QGJr8RpJ3nNNz7MOv8bzoOs+aT9qf50w11m9 0aGuTjQnBAO2e+4t3uClNG8MdgNm12WM0cKBtQNsfHguhoUBiqEuOcELUrKmBn9NEq8M kRBosgiRV6eSk2US+YCN2CzztxBqR78P20qtuBUcGuSvZ1PW5HO7WJ6z/ddGJqq/7rp5 lJsnRnqkq5Uah62pCpfG7RomKxVBfgT6mTeysTFCHSLQww7P3QB4eBCFoRg/VpBxntui 6+vw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from; bh=XkxuCwkTchgQ3RyCxWMpD+LwjtX9Q4wW5k3JWVQXI80=; fh=YgUZ2/lPRGLRG7A+awv03LUUmaPSy2eh3E767EmTYHs=; b=u+/3CdJPi9GrXw5N1qQyiDGrVJluiAtwauD6R9ODkQH+Y4lsLdQTgjtRQ22PCFV3Ag bLnSRCNRh+78Jo2a+AHCGYTqpcaKtSxDDa+CRhtsKOu6z65zGsgtRO+yUft3uSuDI+wt h1zzV8qcRJWE51OKPBnC/Q0BLOMB3nnC+2gkX4KZhCPpDwlV2GRx/l8Dr1J61wA4nxAD J5rbnxKN3T9a0acxc1P5/l7vEnBnVVp3NXLa7sZI0xWHN7ECvS3ML9eZCQ5pbJ598XGd wzcrAw6NxzuBHpYNpySdiIHRjJ5duhrdxM4cUi88n9J6CpQsDKCCH2aYLOjvcF4I7sDt vRLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-124408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q4-20020ad44344000000b00696b147a127si3480164qvs.57.2024.03.29.03.57.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 03:57:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-124408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B6C931C224A3 for ; Fri, 29 Mar 2024 10:57:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 818A16A35A; Fri, 29 Mar 2024 10:56:46 +0000 (UTC) Received: from fgw21-7.mail.saunalahti.fi (fgw21-7.mail.saunalahti.fi [62.142.5.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65E096A33F for ; Fri, 29 Mar 2024 10:56:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.82 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709806; cv=none; b=eDy2aN7IbDZN0imuxcb0Dl0J5nW6S8lM0kkrLjwTUkIjvitbFlYqU8kR2ppuT9tHF6RqQ2cOadCdeDt0tWcLJxd113zxX9k2aq3+X8IPEaCg4lrsUUSne8+CVxIy6yPI2xnCUCiY1erCcFpHH6qZyvAH50epU4ozvZmYhV1+P+g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709806; c=relaxed/simple; bh=/X5KBrNsZRef/ZlLD/N/CjefnjFBzODdabXbvmtFE0A=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=Cx++lppCuMl6cyC/FbLzwgrfL1lQ5mJbs+gn9inaOjpt3o+sJlmT/j1RBY0DEngvelI3LxlyiJ3Mw1p8LbH9JXfSv79CP3gDWx9QQY7SpEJE9QYgjHpQpxOaGsfOkuDJkpMImq133RaJ7SWx7AHt7Q0gtsJKurUQFpUTLqYUcCE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; arc=none smtp.client-ip=62.142.5.82 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com Received: from localhost (88-113-26-217.elisa-laajakaista.fi [88.113.26.217]) by fgw21.mail.saunalahti.fi (Halon) with ESMTP id 031b16c6-edbb-11ee-abf4-005056bdd08f; Fri, 29 Mar 2024 12:56:36 +0200 (EET) From: Andy Shevchenko To: Linus Walleij , Andy Shevchenko , AngeloGioacchino Del Regno , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 00/11] aw9523: number of cleanups Date: Fri, 29 Mar 2024 12:55:14 +0200 Message-ID: <20240329105634.712457-1-andy.shevchenko@gmail.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Just noticed that the newly introduced driver has some leftovers or unneeded customisation. Hence this series. It may (or may not :-) be sent as an update for v6.9 cycle, but TBH there is nothing functional critical. In v2: - fixed typo in patch 4 (LKP) Andy Shevchenko (11): pinctrl: aw9523: Destroy mutex on ->remove() pinctrl: aw9523: Use correct error code for not supported functionality pinctrl: aw9523: Always try both ports in aw9523_gpio_set_multiple() pinctrl: aw9523: Make use of struct pinfunction and PINCTRL_PINFUNCTION() pinctrl: aw9523: Use temporary variable for HW IRQ number pinctrl: aw9523: Get rid of redundant ' & U8_MAX' pieces pinctrl: aw9523: Remove unused irqchip field in struct aw9523_irq pinctrl: aw9523: Make use of dev_err_probe() pinctrl: aw9523: Sort headers and group pinctrl/* pinctrl: aw9523: Fix indentation in a few places pinctrl: aw9523: Remove redundant dependency to OF drivers/pinctrl/Kconfig | 2 +- drivers/pinctrl/pinctrl-aw9523.c | 132 +++++++++++-------------------- 2 files changed, 48 insertions(+), 86 deletions(-) -- 2.44.0