diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-04-22 18:26:38 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-24 17:27:57 +0200 |
commit | c560a6797e3bec1e04f1f6f9f3c2135db0f5c8ee (patch) | |
tree | 433dd8c4dd8c53ef7ebe4411f6dbdae7b1e9b74d /mm/kmemleak.c | |
parent | 886364f679342a381c9cb4a0b2588fb103bb6a22 (diff) | |
download | op-kernel-dev-c560a6797e3bec1e04f1f6f9f3c2135db0f5c8ee.zip op-kernel-dev-c560a6797e3bec1e04f1f6f9f3c2135db0f5c8ee.tar.gz |
ALSA: core: Remove child proc file elements recursively
This patch changes the way to manage the resource release of proc
files: namely, let snd_info_free_entry() freeing the whole children.
This makes it us possible to drop the snd_device_*() management. Then
snd_card_proc_new() becomes merely a wrapper to
snd_info_create_card_entry().
Together with this change, now you need to call snd_info_free_entry()
for a proc entry created via snd_card_proc_new(), while it was freed
via snd_device_free() beforehand.
Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions