diff options
author | Tudor Ambarus <[email protected]> | 2022-10-25 12:02:59 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-11-11 12:15:08 +0530 |
commit | c23cd8c971f0b4697f344d981f13aae4123f866d (patch) | |
tree | 8b45afadda35229c007e827bb833ce124c44d7dd /lib/mpi/mpi-mod.c | |
parent | 4c15a4c7f693f1f45ef534ddc428f2a9aa67bd13 (diff) |
dmaengine: at_hdmac: Use pm_ptr()
Use pm_ptr() macro to fill at_dma_driver.driver.pm. In case CONFIG_PM is
not enabled, the macro will return NULL. When NULL, at_dma_dev_pm_ops will
end up being unused, so prepend it with the __maybe_unused attribute.
Signed-off-by: Tudor Ambarus <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions