From: Andy Shevchenko Date: Tue, 6 Jan 2015 23:40:17 +0000 (+0200) Subject: ALSA: fm801: move to pcim_* and devm_* functions X-Git-Tag: fixes-v4.0-rc1~146^2~65^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5618955c4269b07c8177f88a8075d4879e74cd27;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed