pinctrl: geminilake: 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>
This commit is contained in:
parent
c804d8ae20
commit
6016b099c3
|
@ -459,10 +459,7 @@ static int glk_pinctrl_probe(struct platform_device *pdev)
|
|||
return intel_pinctrl_probe_by_uid(pdev);
|
||||
}
|
||||
|
||||
static const struct dev_pm_ops glk_pinctrl_pm_ops = {
|
||||
SET_LATE_SYSTEM_SLEEP_PM_OPS(intel_pinctrl_suspend,
|
||||
intel_pinctrl_resume)
|
||||
};
|
||||
static INTEL_PINCTRL_PM_OPS(glk_pinctrl_pm_ops);
|
||||
|
||||
static struct platform_driver glk_pinctrl_driver = {
|
||||
.probe = glk_pinctrl_probe,
|
||||
|
|
Loading…
Reference in New Issue