Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp991130lqh; Fri, 29 Mar 2024 03:59:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXKxXQPJ2YVNaNn/OZPdkvDGkkxI2UZ9V80CXbiZ2e5QeTE04KGL0dxRCr0jH9yo0yGS4mKp79xotPKTQuPr+KRc780WEPllB0FjxHbHg== X-Google-Smtp-Source: AGHT+IFX4lS5L9GsiXYDEMjygb5F2fio62Mi7pwulVvx+T5wNbRQw4Mzgje/c04XrGcl4SiGc6/K X-Received: by 2002:a05:6a20:258a:b0:1a3:c637:5902 with SMTP id k10-20020a056a20258a00b001a3c6375902mr1913942pzd.42.1711709954120; Fri, 29 Mar 2024 03:59:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711709954; cv=pass; d=google.com; s=arc-20160816; b=GS28O65eqaTeQp1L3V3nCz19NAhjiqQmMVo5lEaXmyd5HLK4GPQ2PBOFE1EtD1yxdo RtYshLo3RPjyQDBJVWHmPUrVkXd1m3azGWiuzamsCthudijtk9qkMIMm7hup43iYp7Lw /WfzMROj54p+P6Vcb7AabzMhcQIRw3Xmx/5ULSnNXrT0VMi5/fUTZfdXFPx0mSszRbiE pG84EakOV4u6rtW2381NTEdJhGuGtgc1MyGoZHoRyqpDTipVjpAr9YhjG5WeWA6by+6H +uQ2FATMXEtFfeZ6d2tlwO2h3QiPUw3Y1jSW8mK0nIr6hRtT/kApUDf5xc6AlSEg9o5Y BYrw== 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:references:in-reply-to:message-id :date:subject:to:from; bh=m8XD2LGi6091Uc41aRncqaHs2BP8yPB83QhajK4sZRA=; fh=YgUZ2/lPRGLRG7A+awv03LUUmaPSy2eh3E767EmTYHs=; b=tHAb9wHkSVXX/dQRXaVM8iLT18zhaz7vuoV3nVANNW1kEN+TtkAtxI377huvR0BQOJ Rtr/9f/OqACsr6V+N9G16nuLBs9WD0FTykzgrcXsARIX5cXikEgJBhK6bAeb6nkC/EbC 0EdmtCE1hWBT43ehY7vgRtSvZmJEiBxGCbNILt9VKtVBSh2mj7RfEDiNmEDL85uEgWbK M9QVM47Qy7HaRdaBbsQIggvPRa8I0smSGcAVU1xKuCmp13TEie6PrO2V18oyl3ejSMll GDV90oVVsNehLoGoOeVyjjfChRLeqGvJDNGm4UDgi72KdS6qhxMtbCERuiTjXfMHbsFN Y+wg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-124417-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124417-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r25-20020a639b19000000b005dc43133d78si3425499pgd.87.2024.03.29.03.59.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 03:59:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124417-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-124417-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124417-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 32B652838FA for ; Fri, 29 Mar 2024 10:58:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B264E8613A; Fri, 29 Mar 2024 10:56:54 +0000 (UTC) Received: from fgw22-7.mail.saunalahti.fi (fgw22-7.mail.saunalahti.fi [62.142.5.83]) (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 A3FBD85659 for ; Fri, 29 Mar 2024 10:56:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.83 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709814; cv=none; b=KtVBqFUkc6VPOGztUdBAQQrGO+3x6frZwSS4FxGUbd1lz8FMg9LgAr+ZNPvfqjYcDmd9ef3mBT3KnhllBX8rpP7xoh13JviyQhIlogU5kTbbDpPCpD31pliJlU9xuSoeOTZdmTzDSE+2JxUpk0zlMwNVhHvV2k9M3ppCApzWgQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709814; c=relaxed/simple; bh=Nu9sYchMYtdoAcYQDRWy92zX8RGluRxWCKF8EUIbUns=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LVjIffOhxXkUr3uDzFrqccHfhRxx1qoIgthRaTGerZ8uc702QMsF95ryjxy+M8jxFRNn5QaqaQ4xfCqU7FSX3S/b3bGBRTqXSh0ZMA7iBE2fd9wIzDuYmft9NwC7YjXU31DOHkFj0yXwX7qViOfd97hTAjREJi3xB2J9u4szpVc= 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.83 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 fgw22.mail.saunalahti.fi (Halon) with ESMTP id 08e01b89-edbb-11ee-a9de-005056bdf889; Fri, 29 Mar 2024 12:56:46 +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 11/11] pinctrl: aw9523: Remove redundant dependency to OF Date: Fri, 29 Mar 2024 12:55:25 +0200 Message-ID: <20240329105634.712457-12-andy.shevchenko@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240329105634.712457-1-andy.shevchenko@gmail.com> References: <20240329105634.712457-1-andy.shevchenko@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Driver does not dependent on OF, remove it. While here, add missing mod_devicetable.h. Signed-off-by: Andy Shevchenko --- drivers/pinctrl/Kconfig | 2 +- drivers/pinctrl/pinctrl-aw9523.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index d45657aa986ae..c413109b1173b 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -129,7 +129,7 @@ config PINCTRL_AXP209 config PINCTRL_AW9523 tristate "Awinic AW9523/AW9523B I2C GPIO expander pinctrl driver" - depends on OF && I2C + depends on I2C select PINMUX select PINCONF select GENERIC_PINCONF diff --git a/drivers/pinctrl/pinctrl-aw9523.c b/drivers/pinctrl/pinctrl-aw9523.c index b5e1c467625ba..1d0ce78115da7 100644 --- a/drivers/pinctrl/pinctrl-aw9523.c +++ b/drivers/pinctrl/pinctrl-aw9523.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include -- 2.44.0