diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-15 10:59:05 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-19 17:17:04 +0300 |
commit | 596ae97ab0ce0ac273162d51424d7a509b557f32 (patch) | |
tree | 88d7e719045046e8a866d3e29e33bf1dc0f213d7 /sound/pci/oxygen/oxygen.c | |
parent | c19935f04784dcaa456fcd1d1b1fbf3a85765ff1 (diff) | |
download | linux-596ae97ab0ce0ac273162d51424d7a509b557f32.tar.xz |
ALSA: oxygen: Allocate resources with device-managed APIs
This patch converts the resource management in PCI oxygen drivers with
devres as a clean up. Each manual resource management is converted
with the corresponding devres helper, and the page allocations are
done with the devres helper.
This should give no user-visible functional changes.
Link: https://lore.kernel.org/r/20210715075941.23332-44-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/oxygen.c')
-rw-r--r-- | sound/pci/oxygen/oxygen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen.c b/sound/pci/oxygen/oxygen.c index e335c4b5b381..c346f42befc2 100644 --- a/sound/pci/oxygen/oxygen.c +++ b/sound/pci/oxygen/oxygen.c @@ -854,7 +854,6 @@ static struct pci_driver oxygen_driver = { .name = KBUILD_MODNAME, .id_table = oxygen_ids, .probe = generic_oxygen_probe, - .remove = oxygen_pci_remove, #ifdef CONFIG_PM_SLEEP .driver = { .pm = &oxygen_pci_pm, |