[PATCH v1 1/5] pwm: pca9685: Drop unused assignment of acpi_device_id driver data
From: Uwe Kleine-König (The Capable Hub)
Date: Sun Jul 05 2026 - 11:14:53 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/pwm/pwm-pca9685.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-pca9685.c b/drivers/pwm/pwm-pca9685.c
index a02255a64ea8..617a74de68c7 100644
--- a/drivers/pwm/pwm-pca9685.c
+++ b/drivers/pwm/pwm-pca9685.c
@@ -544,7 +544,7 @@ static const struct i2c_device_id pca9685_id[] = {
MODULE_DEVICE_TABLE(i2c, pca9685_id);
static const struct acpi_device_id pca9685_acpi_ids[] = {
- { "INT3492", 0 },
+ { "INT3492" },
{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(acpi, pca9685_acpi_ids);
--
2.55.0.11.g153666a7d9bb