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)
commit5618955c4269b07c8177f88a8075d4879e74cd27
tree6d5002c4739db79204b7e4934ae436724aabe8e5
parentb1940cd21c0f4abdce101253e860feff547291b0
ALSA: fm801: move to pcim_* and devm_* functions

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