Commit b417748c authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Linus Walleij
Browse files

pinctrl: cedarfork: 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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 05a100e4
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -335,10 +335,7 @@ static int cdf_pinctrl_probe(struct platform_device *pdev)
	return intel_pinctrl_probe(pdev, &cdf_soc_data);
}

static const struct dev_pm_ops cdf_pinctrl_pm_ops = {
	SET_LATE_SYSTEM_SLEEP_PM_OPS(intel_pinctrl_suspend,
				     intel_pinctrl_resume)
};
static INTEL_PINCTRL_PM_OPS(cdf_pinctrl_pm_ops);

static const struct acpi_device_id cdf_pinctrl_acpi_match[] = {
	{ "INTC3001" },