ALSA: core: Clean up OSS proc file management
authorTakashi Iwai <tiwai@suse.de>
Thu, 23 Apr 2015 08:56:21 +0000 (10:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 Apr 2015 15:31:08 +0000 (17:31 +0200)
A few minor cleanups:
- Move the call of snd_info_minor_register() into snd_info_init() so
  that we can call all proc-related stuff in a shot
- Add missing __init prefix to snd_info_minor_register()
- Return an error properly from snd_oss_info_register()
- Drop snd_info_minor_unregister() that is superfluous now

Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/info.h
sound/core/info.c
sound/core/info_oss.c
sound/core/sound.c

Simple merge
Simple merge
Simple merge
Simple merge