summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-26 14:13:19 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-28 22:37:29 +0200
commitf1f25fc89a28863766a9827907189ea75ef9215c (patch)
tree6f3453581a24ef220ab0aad063d7792a07c01c4b /drivers/platform
parentfcbb1142fea32fed1d944992f57033cf90d0fb4a (diff)
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 <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/surface3_power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/surface3_power.c b/drivers/platform/x86/surface3_power.c
index f6c646f5af93..24010e0696a0 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);