[PATCH v3 07/23] mfd: loongson-se: Drop unused assignment of acpi_device_id driver data
From: Uwe Kleine-König (The Capable Hub)
Date: Thu Jul 09 2026 - 13:05:10 EST
The driver explicitly set the .driver_data member of struct
acpi_device_id to zero without relying on that value. Drop this unused
assignment.
This patch doesn't modify the compiled array, only its representation in
source form benefits.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/mfd/loongson-se.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/loongson-se.c b/drivers/mfd/loongson-se.c
index 3902ba377d69..4c668e2d2241 100644
--- a/drivers/mfd/loongson-se.c
+++ b/drivers/mfd/loongson-se.c
@@ -233,7 +233,7 @@ static int loongson_se_probe(struct platform_device *pdev)
}
static const struct acpi_device_id loongson_se_acpi_match[] = {
- { "LOON0011", 0 },
+ { "LOON0011" },
{ }
};
MODULE_DEVICE_TABLE(acpi, loongson_se_acpi_match);
--
2.55.0.11.g153666a7d9bb