提交 8e0c7e48 编写于 作者: C Claudiu Beznea 提交者: Vinod Koul

dmaengine: at_xdmac: use pm_ptr()

Use pm_ptr() macro to fill at_xdmac_driver.driver.pm.
Signed-off-by: NClaudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: NTudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20211007111230.2331837-5-claudiu.beznea@microchip.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
上级 b183d41a
...@@ -2231,7 +2231,7 @@ static struct platform_driver at_xdmac_driver = { ...@@ -2231,7 +2231,7 @@ static struct platform_driver at_xdmac_driver = {
.driver = { .driver = {
.name = "at_xdmac", .name = "at_xdmac",
.of_match_table = of_match_ptr(atmel_xdmac_dt_ids), .of_match_table = of_match_ptr(atmel_xdmac_dt_ids),
.pm = &atmel_xdmac_dev_pm_ops, .pm = pm_ptr(&atmel_xdmac_dev_pm_ops),
} }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册