diff options
author | 2020-03-26 14:13:19 +0200 | |
---|---|---|
committer | 2020-03-28 22:37:29 +0200 | |
commit | f1f25fc89a28863766a9827907189ea75ef9215c (patch) | |
tree | 6f3453581a24ef220ab0aad063d7792a07c01c4b /drivers/platform | |
parent | platform/x86: surface3_power: Prefix POLL_INTERVAL with SURFACE_3 (diff) | |
download | linux-f1f25fc89a28863766a9827907189ea75ef9215c.tar.gz linux-f1f25fc89a28863766a9827907189ea75ef9215c.tar.bz2 linux-f1f25fc89a28863766a9827907189ea75ef9215c.zip |
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.c | 2 |
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); |