[ALSA] unregister platform device again if probe was unsuccessful
commitdcccdd938ef0c5d96145957217b814b14bd46cdc
authorRene Herman <rene.herman@keyaccess.nl>
Tue, 11 Apr 2006 12:09:37 +0000 (11 14:09 +0200)
committerJaroslav Kysela <perex@suse.cz>
Wed, 12 Apr 2006 09:55:32 +0000 (12 11:55 +0200)
tree8522ad7957ee85a7f0ab53f776afee8a05795be7
parentd0ac642d76c79c5cc673c4cdfe43e926379784e1
[ALSA] unregister platform device again if probe was unsuccessful

Unregister the platform device again if the probe was unsuccessful.

This restores the behaviour of not loading the driver on probe() failure.

Signed-off-by: Rene Herman <rene.herman@keyaccess.nl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 files changed:
sound/isa/ad1848/ad1848.c
sound/isa/adlib.c
sound/isa/cmi8330.c
sound/isa/cs423x/cs4231.c
sound/isa/cs423x/cs4236.c
sound/isa/es1688/es1688.c
sound/isa/es18xx.c
sound/isa/gus/gusclassic.c
sound/isa/gus/gusextreme.c
sound/isa/gus/gusmax.c
sound/isa/gus/interwave.c
sound/isa/opl3sa2.c
sound/isa/opti9xx/miro.c
sound/isa/opti9xx/opti92x-ad1848.c
sound/isa/sb/sb16.c
sound/isa/sb/sb8.c
sound/isa/sgalaxy.c
sound/isa/sscape.c
sound/isa/wavefront/wavefront.c