platform/x86: surface3_power: Drop useless macro ACPI_PTR()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 26 Mar 2020 12:13:19 +0000 (14:13 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 28 Mar 2020 20:37:29 +0000 (22:37 +0200)
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>
drivers/platform/x86/surface3_power.c

index f6c646f..24010e0 100644 (file)
@@ -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);