dmaengine: at_xdmac: use pm_ptr()
Use pm_ptr() macro to fill at_xdmac_driver.driver.pm. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com> Link: https://lore.kernel.org/r/20211007111230.2331837-5-claudiu.beznea@microchip.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
b183d41a34
commit
8e0c7e4860
|
@ -2231,7 +2231,7 @@ static struct platform_driver at_xdmac_driver = {
|
|||
.driver = {
|
||||
.name = "at_xdmac",
|
||||
.of_match_table = of_match_ptr(atmel_xdmac_dt_ids),
|
||||
.pm = &atmel_xdmac_dev_pm_ops,
|
||||
.pm = pm_ptr(&atmel_xdmac_dev_pm_ops),
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue