summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/intel/pinctrl-baytrail.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-06-12 16:50:06 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-06-22 12:55:36 +0200
commite87daf0bd83cb82576940d0a6e0e48b01d18c939 (patch)
treea1f13e86413ebc2bdb89d0ed77f675fa06408b4f /drivers/pinctrl/intel/pinctrl-baytrail.c
parentpinctrl: lynxpoint: Drop no-op ACPI_PTR() call (diff)
downloadlinux-e87daf0bd83cb82576940d0a6e0e48b01d18c939.tar.xz
linux-e87daf0bd83cb82576940d0a6e0e48b01d18c939.zip
pinctrl: baytrail: Drop no-op ACPI_PTR() call
Since we dependent on ACPI, there is no need to use ACPI_PTR() which is a no-op in this case. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/pinctrl/intel/pinctrl-baytrail.c')
-rw-r--r--drivers/pinctrl/intel/pinctrl-baytrail.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-baytrail.c b/drivers/pinctrl/intel/pinctrl-baytrail.c
index 0ff7c55173da..e3ceb3dfeabe 100644
--- a/drivers/pinctrl/intel/pinctrl-baytrail.c
+++ b/drivers/pinctrl/intel/pinctrl-baytrail.c
@@ -1757,9 +1757,8 @@ static struct platform_driver byt_gpio_driver = {
.driver = {
.name = "byt_gpio",
.pm = &byt_gpio_pm_ops,
+ .acpi_match_table = byt_gpio_acpi_match,
.suppress_bind_attrs = true,
-
- .acpi_match_table = ACPI_PTR(byt_gpio_acpi_match),
},
};