diff options
author | Andy Shevchenko | 2018-08-30 19:27:47 +0300 |
---|---|---|
committer | Linus Walleij | 2018-08-31 11:25:38 +0200 |
commit | c804d8ae2083bc207c002f323fb7bd69bd45cbaf (patch) | |
tree | f24da09f8e182f66df14d57a2057f358c9cf5aac /drivers/pinctrl/intel/pinctrl-denverton.c | |
parent | b417748c0fa26353c0ed67cf110f2d12a7e1630d (diff) |
pinctrl: denverton: Define PM ops via INTEL_PINCTRL_PM_OPS()
Instead of open coding same structure definition for PM operations,
replace it with a common macro.
No functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/intel/pinctrl-denverton.c')
-rw-r--r-- | drivers/pinctrl/intel/pinctrl-denverton.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-denverton.c b/drivers/pinctrl/intel/pinctrl-denverton.c index f321ab0d76e5..20172509c32c 100644 --- a/drivers/pinctrl/intel/pinctrl-denverton.c +++ b/drivers/pinctrl/intel/pinctrl-denverton.c @@ -262,10 +262,7 @@ static int dnv_pinctrl_probe(struct platform_device *pdev) return intel_pinctrl_probe(pdev, &dnv_soc_data); } -static const struct dev_pm_ops dnv_pinctrl_pm_ops = { - SET_LATE_SYSTEM_SLEEP_PM_OPS(intel_pinctrl_suspend, - intel_pinctrl_resume) -}; +static INTEL_PINCTRL_PM_OPS(dnv_pinctrl_pm_ops); static const struct acpi_device_id dnv_pinctrl_acpi_match[] = { { "INTC3000" }, |