Skip to content

Commit f1f25fc

Browse files
committed
platform/x86: surface3_power: Drop useless macro ACPI_PTR()
Driver depends to ACPI, this marco always is evaluated to the parameter, thus useless. Drop it for good. Signed-off-by: Andy Shevchenko <[email protected]>
1 parent fcbb114 commit f1f25fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/surface3_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ static struct i2c_driver mshw0011_driver = {
574574
.remove = mshw0011_remove,
575575
.driver = {
576576
.name = "mshw0011",
577-
.acpi_match_table = ACPI_PTR(mshw0011_acpi_match),
577+
.acpi_match_table = mshw0011_acpi_match,
578578
},
579579
};
580580
module_i2c_driver(mshw0011_driver);

0 commit comments

Comments
 (0)