* [PATCH] ACPI: AC: Remove unused struct acpi_ac_bl
@ 2022-09-27 13:39 Yuan Can
0 siblings, 0 replies; only message in thread
From: Yuan Can @ 2022-09-27 13:39 UTC (permalink / raw)
To: rafael, lenb, linux-acpi; +Cc: yuancan
After commit 57a183222271("ACPI / x86: Introduce an
acpi_quirk_skip_acpi_ac_and_battery() helper"), no one use struct acpi_ac_bl,
so remove it.
Signed-off-by: Yuan Can <yuancan@huawei.com>
---
drivers/acpi/ac.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c
index c29e41bfcf35..bb9fe7984b1a 100644
--- a/drivers/acpi/ac.c
+++ b/drivers/acpi/ac.c
@@ -36,11 +36,6 @@ static int acpi_ac_add(struct acpi_device *device);
static int acpi_ac_remove(struct acpi_device *device);
static void acpi_ac_notify(struct acpi_device *device, u32 event);
-struct acpi_ac_bl {
- const char *hid;
- int hrv;
-};
-
static const struct acpi_device_id ac_device_ids[] = {
{"ACPI0003", 0},
{"", 0},
--
2.17.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-27 13:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 13:39 [PATCH] ACPI: AC: Remove unused struct acpi_ac_bl Yuan Can
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.