return ret;
 }
 
-static int __maybe_unused snd_acp5x_suspend(struct device *dev)
+static int snd_acp5x_suspend(struct device *dev)
 {
        int ret;
        struct acp5x_dev_data *adata;
        return ret;
 }
 
-static int __maybe_unused snd_acp5x_resume(struct device *dev)
+static int snd_acp5x_resume(struct device *dev)
 {
        int ret;
        struct acp5x_dev_data *adata;
 }
 
 static const struct dev_pm_ops acp5x_pm = {
-       SET_RUNTIME_PM_OPS(snd_acp5x_suspend,
-                          snd_acp5x_resume, NULL)
-       SET_SYSTEM_SLEEP_PM_OPS(snd_acp5x_suspend, snd_acp5x_resume)
+       RUNTIME_PM_OPS(snd_acp5x_suspend, snd_acp5x_resume, NULL)
+       SYSTEM_SLEEP_PM_OPS(snd_acp5x_suspend, snd_acp5x_resume)
 };
 
 static void snd_acp5x_remove(struct pci_dev *pci)
        .probe = snd_acp5x_probe,
        .remove = snd_acp5x_remove,
        .driver = {
-               .pm = &acp5x_pm,
+               .pm = pm_ptr(&acp5x_pm),
        }
 };