linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ACPI: acpi_drivers.h: Remove the leftover dead code
@ 2020-11-13  3:00 Hanjun Guo
  2020-11-13  3:00 ` [PATCH 2/2] ACPI: acpi_drivers.h: Update the kernel doc Hanjun Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Hanjun Guo @ 2020-11-13  3:00 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-acpi, Hanjun Guo

After commit 5ba8b1c6fe40 ("ACPI: remove dead code"),
ACPI_PROCESSOR_LIMIT_* macros are not used anymore, remove it.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
---
 include/acpi/acpi_drivers.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h
index 5eb1759..634f967 100644
--- a/include/acpi/acpi_drivers.h
+++ b/include/acpi/acpi_drivers.h
@@ -94,14 +94,6 @@ static inline struct pci_dev *acpi_get_pci_dev(acpi_handle handle)
 static inline void pci_acpi_crs_quirks(void) { }
 #endif
 
-/* --------------------------------------------------------------------------
-                                    Processor
-   -------------------------------------------------------------------------- */
-
-#define ACPI_PROCESSOR_LIMIT_NONE	0x00
-#define ACPI_PROCESSOR_LIMIT_INCREMENT	0x01
-#define ACPI_PROCESSOR_LIMIT_DECREMENT	0x02
-
 /*--------------------------------------------------------------------------
                                   Dock Station
   -------------------------------------------------------------------------- */
-- 
1.7.12.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] ACPI: acpi_drivers.h: Update the kernel doc
  2020-11-13  3:00 [PATCH 1/2] ACPI: acpi_drivers.h: Remove the leftover dead code Hanjun Guo
@ 2020-11-13  3:00 ` Hanjun Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Hanjun Guo @ 2020-11-13  3:00 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-acpi, Hanjun Guo

pci_bind.c is not exist anymore, so just remove all the
.c file reference as the c file reference is not useful
and avoid future non-consistency update.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
---
 include/acpi/acpi_drivers.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h
index 634f967..d4f39a2 100644
--- a/include/acpi/acpi_drivers.h
+++ b/include/acpi/acpi_drivers.h
@@ -64,14 +64,14 @@
    -------------------------------------------------------------------------- */
 
 
-/* ACPI PCI Interrupt Link (pci_link.c) */
+/* ACPI PCI Interrupt Link */
 
 int acpi_irq_penalty_init(void);
 int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering,
 			       int *polarity, char **name);
 int acpi_pci_link_free_irq(acpi_handle handle);
 
-/* ACPI PCI Device Binding (pci_bind.c) */
+/* ACPI PCI Device Binding */
 
 struct pci_bus;
 
-- 
1.7.12.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-13  3:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-13  3:00 [PATCH 1/2] ACPI: acpi_drivers.h: Remove the leftover dead code Hanjun Guo
2020-11-13  3:00 ` [PATCH 2/2] ACPI: acpi_drivers.h: Update the kernel doc Hanjun Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).