Skip to content

Commit

Permalink
platform/x86: surface3_power: Drop useless macro ACPI_PTR()
Browse files Browse the repository at this point in the history
Driver depends to ACPI, this marco always is evaluated to the parameter,
thus useless. Drop it for good.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  • Loading branch information
Andy Shevchenko committed Mar 28, 2020
1 parent fcbb114 commit f1f25fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/surface3_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ static struct i2c_driver mshw0011_driver = {
.remove = mshw0011_remove,
.driver = {
.name = "mshw0011",
.acpi_match_table = ACPI_PTR(mshw0011_acpi_match),
.acpi_match_table = mshw0011_acpi_match,
},
};
module_i2c_driver(mshw0011_driver);
Expand Down

0 comments on commit f1f25fc

Please sign in to comment.