]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sound: convert snd_info_register() to use proc_create_data()
authorNathan Zimmer <nzimmer@sgi.com>
Wed, 20 Mar 2013 04:06:51 +0000 (15:06 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:27:12 +0000 (16:27 +1100)
commit9c8996389989fc2bd4043e844ae5ff90f6c575ac
tree64c4fc15f300c8b683694906b44d6962adcd67f4
parent5ff9477a2f6b8ef8fc683cafcdf05e0004a3d968
sound: convert snd_info_register() to use proc_create_data()

Convert snd_info_register to use proc_create_data instead of
create_proc_entry.  This corrects a sparse warning introduced by "procfs:
Improve Scaling in proc" It is also a bit cleaner to let proc_create_data
set the ->data and ->proc_fops.

Signed-off-by: Nathan Zimmer <nzimmer@sgi.com>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
sound/core/info.c