Hi,
here is a series of patches for cleaning up the ALSA proc file management code. The biggest change is the use of seq_file for text reads, but all are internal and the API is kept intact.
The rest are mostly small cleanups and refactoring.
The patches are found in topic/proc branch of sound git tree.
Takashi
===
Takashi Iwai (8): ALSA: core: Use seq_file for text proc file reads ALSA: core: Fix possible memory leaks at error path in info.c ALSA: core: Remove child proc file elements recursively ALSA: core: Manage asound root directory with snd_info_entry ALSA: core: Remove superfluous exit calls for proc entries ALSA: core: Don't ignore errors at creating proc files ALSA: core: Build conditionally and remove superfluous ifdefs ALSA: core: Clean up OSS proc file management
include/sound/core.h | 4 - include/sound/info.h | 29 +- sound/core/Makefile | 8 +- sound/core/info.c | 779 ++++++++++++++++++---------------------------- sound/core/info_oss.c | 29 +- sound/core/init.c | 33 +- sound/core/seq/Makefile | 3 +- sound/core/seq/seq_info.c | 19 +- sound/core/sound.c | 24 +- sound/core/sound_oss.c | 30 +- 10 files changed, 373 insertions(+), 585 deletions(-)