We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a3b7e6 commit 0a32763Copy full SHA for 0a32763
drivers/pinctrl/intel/pinctrl-sunrisepoint.c
@@ -10,6 +10,7 @@
10
#include <linux/mod_devicetable.h>
11
#include <linux/module.h>
12
#include <linux/platform_device.h>
13
+#include <linux/pm.h>
14
15
#include <linux/pinctrl/pinctrl.h>
16
@@ -579,14 +580,12 @@ static const struct acpi_device_id spt_pinctrl_acpi_match[] = {
579
580
};
581
MODULE_DEVICE_TABLE(acpi, spt_pinctrl_acpi_match);
582
-static INTEL_PINCTRL_PM_OPS(spt_pinctrl_pm_ops);
583
-
584
static struct platform_driver spt_pinctrl_driver = {
585
.probe = intel_pinctrl_probe_by_hid,
586
.driver = {
587
.name = "sunrisepoint-pinctrl",
588
.acpi_match_table = spt_pinctrl_acpi_match,
589
- .pm = &spt_pinctrl_pm_ops,
+ .pm = pm_sleep_ptr(&intel_pinctrl_pm_ops),
590
},
591
592
0 commit comments