mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-02 07:13:31 +01:00
dmaengine: at_xdmac: use pm_ptr()
Use pm_ptr() macro to fill at_xdmac_driver.driver.pm. Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Tudor Ambarus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
1 parent
b183d41a34
commit
8e0c7e4860
1 file changed
+1
-1
@@ -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),
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user