summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/intel/pinctrl-broxton.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-08-30 19:27:44 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-08-31 12:25:27 +0300
commit5689d6aaea248d3e5742292baccb9498d91257ee (patch)
treebbe602a5968bafc1e0febcdd3f53b68fd6607a07 /drivers/pinctrl/intel/pinctrl-broxton.c
parent6d7c05faaf01a082fa2458ff615d8373d876905c (diff)
downloadlinux-5689d6aaea248d3e5742292baccb9498d91257ee.tar.xz
pinctrl: broxton: 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-broxton.c')
-rw-r--r--drivers/pinctrl/intel/pinctrl-broxton.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-broxton.c b/drivers/pinctrl/intel/pinctrl-broxton.c
index fc615cef33a1..629d640037f9 100644
--- a/drivers/pinctrl/intel/pinctrl-broxton.c
+++ b/drivers/pinctrl/intel/pinctrl-broxton.c
@@ -1011,10 +1011,7 @@ static int bxt_pinctrl_probe(struct platform_device *pdev)
return intel_pinctrl_probe_by_uid(pdev);
}
-static const struct dev_pm_ops bxt_pinctrl_pm_ops = {
- SET_LATE_SYSTEM_SLEEP_PM_OPS(intel_pinctrl_suspend,
- intel_pinctrl_resume)
-};
+static INTEL_PINCTRL_PM_OPS(bxt_pinctrl_pm_ops);
static struct platform_driver bxt_pinctrl_driver = {
.probe = bxt_pinctrl_probe,