ALSA: fm801: move to pcim_* and devm_* functions
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Tue, 6 Jan 2015 23:40:17 +0000 (01:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 7 Jan 2015 14:53:55 +0000 (15:53 +0100)
The managed functions allow to get ->probe() and ->remove() simplier.
This patch converts code to use managed functions.

While here remove the dead code and fix the value printed in error
message.

[removed pci_release_regions() as it's managed in pcim_release(), too
  -- tiwai]

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/fm801.c

Simple merge