From: Andy Shevchenko Date: Thu, 26 Mar 2020 12:13:19 +0000 (+0200) Subject: platform/x86: surface3_power: Drop useless macro ACPI_PTR() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f1f25fc89a28863766a9827907189ea75ef9215c;p=linux.git 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 --- diff --git a/drivers/platform/x86/surface3_power.c b/drivers/platform/x86/surface3_power.c index f6c646f5af930..24010e0696a08 100644 --- a/drivers/platform/x86/surface3_power.c +++ b/drivers/platform/x86/surface3_power.c @@ -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);