From nobody Tue Nov 26 10:48:25 2024 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 BA3991EE007; Fri, 18 Oct 2024 13:46:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729259163; cv=none; b=IEE3/k62+Mt6sY8G4RWr4mc4alsXAlLhX350Qzf5qhPci1tAL0rcQyGtf8SOI+JYbsCBjUlNHOdDfR0E93jKDpf8nBa/4gH2IkjXLWuD4VkAJ505JyPL3uPnz3j4XLczS09ywS4wKZqkY3JwiNS6FLsKVge2cxGd2HK+TaQpQSU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729259163; c=relaxed/simple; bh=p+LcWe4Pxmo+7KAiEvXg9Bx598A+WiRwIXC7KBxOeyc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FvdpnqAc8SejSI6olmrTUPki0hAsOwpcjJ1FA2dq4ghO/BTE+wvY49qb+esIccx6T5E/s4tMuTvelXjBl72tS+xy0NrATIvi4Qus8MhxYZQ4xK0RTTWxEjKknSCTHNuMGaG0e+cp3/Os+SlrCn/bXFbEQ/fqFPRt1H1bR4WSNvE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=M7X8SPw3; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="M7X8SPw3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729259162; x=1760795162; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=p+LcWe4Pxmo+7KAiEvXg9Bx598A+WiRwIXC7KBxOeyc=; b=M7X8SPw3nK/45/NgRt7kYeOqLcHMsUCcEpVZ9szRWTqWGKj4JokRRcUn aMVWMm0dRRPrG2zkYwb2xP68PNXGHGi51F5Em8CNd7Iozkc6hpdu+KtDs VqfCPQWOGCcbOAutofDkIPXoBkMlTzK6izMD/FvGx68JMeabOjZGysUDD 63q+BocFD6N/Xhu1L0T/t8L7+DfS/EgUoEjylgvUPeRQEVedi8VGEwWqw RiEfTJvks/5FY3Slrv19XParssLK6SsimoMaSSXqUY0ub1A2hTXRp4nM5 jhdYZlDPUxcZXZ/gX8FMEm9N7Y//WC32SLTKuwZZ78GMSVGx9fwPqZZXJ w==; X-CSE-ConnectionGUID: hxrVn/1wQL2W37j+zmoTeQ== X-CSE-MsgGUID: C1s2TbVYRzaPQBlNB8jFKA== X-IronPort-AV: E=McAfee;i="6700,10204,11229"; a="28251819" X-IronPort-AV: E=Sophos;i="6.11,213,1725346800"; d="scan'208";a="28251819" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2024 06:45:57 -0700 X-CSE-ConnectionGUID: dUiz5XehTx2TfwBBh2MGSA== X-CSE-MsgGUID: RkX3tAKsRuSDXKlK9atsuQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,213,1725346800"; d="scan'208";a="83936183" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa004.jf.intel.com with ESMTP; 18 Oct 2024 06:45:56 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id B1259256; Fri, 18 Oct 2024 16:45:54 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski Subject: [PATCH v2 1/4] gpio: xgene-sb: Remove unneeded definitions for properties Date: Fri, 18 Oct 2024 16:45:00 +0300 Message-ID: <20241018134550.2071101-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20241018134550.2071101-1-andriy.shevchenko@linux.intel.com> References: <20241018134550.2071101-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" There are three definitions for the property names. Remove them as: 1) each of them is only used once; 2) in all cases the definition is longer than the value. In the result code is better and grepping on the property immediately gets the function in which is being used which helps to guess the type of the value. Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-xgene-sb.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-xgene-sb.c b/drivers/gpio/gpio-xgene-sb.c index 836fcf1c82fe..ae592528001d 100644 --- a/drivers/gpio/gpio-xgene-sb.c +++ b/drivers/gpio/gpio-xgene-sb.c @@ -17,11 +17,6 @@ =20 #include "gpiolib-acpi.h" =20 -/* Common property names */ -#define XGENE_NIRQ_PROPERTY "apm,nr-irqs" -#define XGENE_NGPIO_PROPERTY "apm,nr-gpios" -#define XGENE_IRQ_START_PROPERTY "apm,irq-start" - #define XGENE_DFLT_MAX_NGPIO 22 #define XGENE_DFLT_MAX_NIRQ 6 #define XGENE_DFLT_IRQ_START_PIN 8 @@ -252,18 +247,17 @@ static int xgene_gpio_sb_probe(struct platform_device= *pdev) =20 /* Retrieve start irq pin, use default if property not found */ priv->irq_start =3D XGENE_DFLT_IRQ_START_PIN; - if (!device_property_read_u32(&pdev->dev, - XGENE_IRQ_START_PROPERTY, &val32)) + if (!device_property_read_u32(&pdev->dev, "apm,irq-start", &val32)) priv->irq_start =3D val32; =20 /* Retrieve number irqs, use default if property not found */ priv->nirq =3D XGENE_DFLT_MAX_NIRQ; - if (!device_property_read_u32(&pdev->dev, XGENE_NIRQ_PROPERTY, &val32)) + if (!device_property_read_u32(&pdev->dev, "apm,nr-irqs", &val32)) priv->nirq =3D val32; =20 /* Retrieve number gpio, use default if property not found */ priv->gc.ngpio =3D XGENE_DFLT_MAX_NGPIO; - if (!device_property_read_u32(&pdev->dev, XGENE_NGPIO_PROPERTY, &val32)) + if (!device_property_read_u32(&pdev->dev, "apm,nr-gpios", &val32)) priv->gc.ngpio =3D val32; =20 dev_info(&pdev->dev, "Support %d gpios, %d irqs start from pin %d\n", --=20 2.43.0.rc1.1336.g36b5255a03ac From nobody Tue Nov 26 10:48:25 2024 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 CFDA81DED5B; Fri, 18 Oct 2024 13:45:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729259161; cv=none; b=jqfxtxELrpsLt8Xz6xxQhAVMUQM5jopgiCKNl+50aQcEc5KuzUwa77JxNiQixPj0El+i+vcWkpt6ahf9db8bDqMmLKJJw+R3eI/Psu+1JqcGF2ZjzzpgQj3qtONBvAZxsWGY35yT6mRy6Kq+Lcg52Ilxe4DPWauRDuUniHbYDBo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729259161; c=relaxed/simple; bh=a1pikMagtZ3E4LGz3brHL96nlJ188/vghvozaR6VDL4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=B9tKUdEezyyPoueVIDTEIGxZR/2ljRYB6HHdg7KlVH+AhbberHqbOTs9xniP1n145VUprqGkAaoBgCmTZzu2p4IsiZ29W1jHcZPXbVJN5nKeTzZUNfYH7fe5MINBvZRNhi7xWCLk6wXLNKjtgPpUq3x+mlWan9VGaGh2KUNoGZI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=JI6Ly5Gd; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="JI6Ly5Gd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729259160; x=1760795160; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=a1pikMagtZ3E4LGz3brHL96nlJ188/vghvozaR6VDL4=; b=JI6Ly5Gd/e767Zlwcay95CE3DHobK3/3sfVscttuPngcPf4505FAOndV 8fvASPDZ//Kin5LlHYHQ9gXGgtEoyGgWoBsxSAVcDNC7Chn/3jVwg5oaU zLTHwuTZowuPHTOiZIHGeR/qmbcWsBFRLxEGYMRFLF6VGvbbwSSgdmkr6 DX0ErsV/QqK+MKoelv8JjNjJ1e6UOpyJvNoEkK1sR00aFjDM8lIE4wUeC jSb9b2jeHrJwssN+TOJYM/g5rCq1mpeOiCtxZzOmOaHk01vGZwUe7/tnQ UrSAWA1iYvKu21y4iZgaRikT+YKQB6SYZ2A6+lOuNjjBIKb7qO9NZ4D49 Q==; X-CSE-ConnectionGUID: kBQZ6Is5Tfiui9065DMnLw== X-CSE-MsgGUID: 7zyUa+XZT9yppcVY16NKCg== X-IronPort-AV: E=McAfee;i="6700,10204,11229"; a="28251813" X-IronPort-AV: E=Sophos;i="6.11,213,1725346800"; d="scan'208";a="28251813" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2024 06:45:57 -0700 X-CSE-ConnectionGUID: 0pfg0omXQ2Ca9TGecB6Dlw== X-CSE-MsgGUID: He8DiI5iS7Wd62rS46RMOg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,213,1725346800"; d="scan'208";a="83936182" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa004.jf.intel.com with ESMTP; 18 Oct 2024 06:45:56 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id B81553F0; Fri, 18 Oct 2024 16:45:54 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski Subject: [PATCH v2 2/4] gpio: xgene-sb: Drop ACPI_PTR() and CONFIG_ACPI guards Date: Fri, 18 Oct 2024 16:45:01 +0300 Message-ID: <20241018134550.2071101-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20241018134550.2071101-1-andriy.shevchenko@linux.intel.com> References: <20241018134550.2071101-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The complexity of config guards needed for ACPI_PTR() is not worthwhile for the small amount of saved data. This example was doing it correctly but I am proposing dropping this so as to reduce chance of cut and paste where it is done wrong. Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-xgene-sb.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpio/gpio-xgene-sb.c b/drivers/gpio/gpio-xgene-sb.c index ae592528001d..64184d4bd894 100644 --- a/drivers/gpio/gpio-xgene-sb.c +++ b/drivers/gpio/gpio-xgene-sb.c @@ -304,20 +304,18 @@ static const struct of_device_id xgene_gpio_sb_of_mat= ch[] =3D { }; MODULE_DEVICE_TABLE(of, xgene_gpio_sb_of_match); =20 -#ifdef CONFIG_ACPI static const struct acpi_device_id xgene_gpio_sb_acpi_match[] =3D { {"APMC0D15", 0}, {}, }; MODULE_DEVICE_TABLE(acpi, xgene_gpio_sb_acpi_match); -#endif =20 static struct platform_driver xgene_gpio_sb_driver =3D { .driver =3D { .name =3D "xgene-gpio-sb", .of_match_table =3D xgene_gpio_sb_of_match, - .acpi_match_table =3D ACPI_PTR(xgene_gpio_sb_acpi_match), - }, + .acpi_match_table =3D xgene_gpio_sb_acpi_match, + }, .probe =3D xgene_gpio_sb_probe, .remove =3D xgene_gpio_sb_remove, }; --=20 2.43.0.rc1.1336.g36b5255a03ac From nobody Tue Nov 26 10:48:25 2024 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 48E2C1EE016; Fri, 18 Oct 2024 13:46:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729259162; cv=none; b=g6L0pzYoUTWtvGXvr0+u5RqfixPKB4ZXssab94YrtOZQomfda6Gb/40+nvB3CpHdxmWfchWrxbCIjjZyesKVTpsGTzdHXLcELwaWIG1YKc/QO9X2qmxNLKYbD5gN0CFkH4voYGNG4mXV6keaodX4VsG7fasVSc75cz9pQogjYkA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729259162; c=relaxed/simple; bh=URaH5r+2Z/EBWxDLUST/cFlypQmTjNV8T42g/XdctBA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=r6dWxgAm6cGPfS2A3OBYfYiZwKj99GYg3tKuQ548Nwd4lwILzSAiUy/kx9p7PLZcjRDG5qUB9Zm0Y67Eg92Ag4WYuj2YYP9zs2S3+4XC1YocB7qn3IpAja8w0sVOXg4e2XJ8twxfVwsa4K6OxoTUcb02PO0nBAV00lVxI1oS6YM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gOnjZezO; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gOnjZezO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729259160; x=1760795160; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=URaH5r+2Z/EBWxDLUST/cFlypQmTjNV8T42g/XdctBA=; b=gOnjZezOla/7rV2p9vUQVoAHdeG87vZwTtmi5sfrGiYh6DIRJiezkN8J +VqmQchP48wi7AH5ROsjeIcKkC1o4NsJKEE9tQgRFHdc8Gvh5SejJn50d ok/9Xnu1kRJx528SqhfNxFEEzCG4nRSGpkKAakrkvTgnFH1ZOEjqgnh3r YPVCGYN6gNgSe4DIVpCo1959xYBrHGKy5uTqJSptwvqsBfwLIuumNXuui xUitK+RdP4CEfmOudT5rNzzmJ5a3G5mYscB1Bkr+UkKReq9iwjpe8M2g5 DW1YwnVIUd8P9z6hXuCUb/ojVswb3iVuvQf1y0+LV42u+1MD2uKhw4n52 A==; X-CSE-ConnectionGUID: suxrvL80Spe98KzXENPuWw== X-CSE-MsgGUID: a3cEoxgYRzSY/WAMD09arw== X-IronPort-AV: E=McAfee;i="6700,10204,11229"; a="28251816" X-IronPort-AV: E=Sophos;i="6.11,213,1725346800"; d="scan'208";a="28251816" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2024 06:45:57 -0700 X-CSE-ConnectionGUID: zfb3BTEGSOyWsAoWpWLJ5g== X-CSE-MsgGUID: tLiMKrHeQ4+JnWgLyiMBKQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,213,1725346800"; d="scan'208";a="116330956" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa001.jf.intel.com with ESMTP; 18 Oct 2024 06:45:56 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id C3B6F50A; Fri, 18 Oct 2024 16:45:54 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski Subject: [PATCH v2 3/4] gpio: xgene-sb: Tidy up ACPI and OF ID tables Date: Fri, 18 Oct 2024 16:45:02 +0300 Message-ID: <20241018134550.2071101-4-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20241018134550.2071101-1-andriy.shevchenko@linux.intel.com> References: <20241018134550.2071101-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Tidy up the ACPI and OF ID tables: - remove explicit driver_data initializer - drop comma in the terminator entry Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-xgene-sb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpio/gpio-xgene-sb.c b/drivers/gpio/gpio-xgene-sb.c index 64184d4bd894..206f03a7a7aa 100644 --- a/drivers/gpio/gpio-xgene-sb.c +++ b/drivers/gpio/gpio-xgene-sb.c @@ -299,14 +299,14 @@ static void xgene_gpio_sb_remove(struct platform_devi= ce *pdev) } =20 static const struct of_device_id xgene_gpio_sb_of_match[] =3D { - {.compatible =3D "apm,xgene-gpio-sb", }, - {}, + { .compatible =3D "apm,xgene-gpio-sb" }, + {} }; MODULE_DEVICE_TABLE(of, xgene_gpio_sb_of_match); =20 static const struct acpi_device_id xgene_gpio_sb_acpi_match[] =3D { - {"APMC0D15", 0}, - {}, + { "APMC0D15" }, + {} }; MODULE_DEVICE_TABLE(acpi, xgene_gpio_sb_acpi_match); =20 --=20 2.43.0.rc1.1336.g36b5255a03ac From nobody Tue Nov 26 10:48:25 2024 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 ECD713EA76; Fri, 18 Oct 2024 13:45:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729259159; cv=none; b=FFMY2OalqAy6odtZgHelgHH1X7kCG0HygGKH9jC/x1rZ47JLbTxLRoPRcUu282YW/eFZiBSBnQEPWhD0ux2zrAybXp18NRm5O71sYH8OPHMrRaOT4ynw15AcgGFWB7n33k/+OZNHjeNX5h0MIcoa+DWog544U4z+717rmhVN/OU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729259159; c=relaxed/simple; bh=EaXsiVIiRgaxgG7fRrDXgJJ9N6V1vsqdPGrPgKw+2KY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uUlTnfE1yZxXFLXEKqza05czdqrP+WUjnPa0Ya44dSBPtHGxxYFfvNMv3qt0BV04UkggszPN9NC573o1dPgOTx6eVZyzns+EUhPcktyBzZbWzkhgMwFFH7qTunLWAc8MSAh/vL5Wh0wB9omRo+dQ2ug66y/r9DdYW/hX50c2+84= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=h6i6NlX7; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="h6i6NlX7" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729259158; x=1760795158; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EaXsiVIiRgaxgG7fRrDXgJJ9N6V1vsqdPGrPgKw+2KY=; b=h6i6NlX7MKRlOxNxrB+Xo5VvhSWRFxdGlxYZG/k1BLyEn0ChiyVW1vuk jPigWPcXEfCmRxdZDfPs4CZTaF8Juezo5t4ePZNUQMT3kPPckiE/Ugaic HxubA9c5onqsT3HM7hPi+HKyC4ljLOWzrtQ+XNAiy1YcQ0W8LXdfgpUKw 5FgEsLDzOtxwVNJRkxb2xl6cuqO1gm73IjweMl9Vw5PkIhpX8NSO4CNaT T1HwzKDIi/KTrM9TnKWL5yWUcVro/AdxPBu+ocw4t6oU4+A+J0CEEB6xG GrB8yqR6sHO+8CkUewMgAHH4/ZehivCV0NbPnD9S9Gt0mTSaiu5MlNiLa g==; X-CSE-ConnectionGUID: nPGzfGgvTrGvMZckfEyZyQ== X-CSE-MsgGUID: UVVtN0MZRSmDLBEw/1qVjg== X-IronPort-AV: E=McAfee;i="6700,10204,11229"; a="28251811" X-IronPort-AV: E=Sophos;i="6.11,213,1725346800"; d="scan'208";a="28251811" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2024 06:45:57 -0700 X-CSE-ConnectionGUID: 4UoSXaaTQmaAMuziW1HNxQ== X-CSE-MsgGUID: d9Syj35mTuWfG6acH3pmwA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,213,1725346800"; d="scan'208";a="83936181" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa004.jf.intel.com with ESMTP; 18 Oct 2024 06:45:56 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id CDC975A7; Fri, 18 Oct 2024 16:45:54 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski Subject: [PATCH v2 4/4] gpio: xgene-sb: don't use "proxy" headers Date: Fri, 18 Oct 2024 16:45:03 +0300 Message-ID: <20241018134550.2071101-5-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20241018134550.2071101-1-andriy.shevchenko@linux.intel.com> References: <20241018134550.2071101-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-xgene-sb.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-xgene-sb.c b/drivers/gpio/gpio-xgene-sb.c index 206f03a7a7aa..48b829733b15 100644 --- a/drivers/gpio/gpio-xgene-sb.c +++ b/drivers/gpio/gpio-xgene-sb.c @@ -8,12 +8,19 @@ * Quan Nguyen . */ =20 -#include +#include +#include #include +#include +#include +#include +#include #include #include +#include +#include + #include -#include =20 #include "gpiolib-acpi.h" =20 --=20 2.43.0.rc1.1336.g36b5255a03ac