From: Takashi Iwai Date: Tue, 25 Feb 2014 07:30:50 +0000 (+0100) Subject: ALSA: Create sysfs attribute files via groups X-Git-Tag: v3.15-rc1~142^2~3^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caa751bad444268d756b48ca03d7cceda3430cc8;p=pandora-kernel.git ALSA: Create sysfs attribute files via groups Instead of calling each time device_create_file(), create the groups of sysfs attribute files at once in a normal way. Add a new helper function, snd_get_device(), to return the associated device object, so that we can handle the sysfs addition locally. Since the sysfs file addition is done differently now, snd_add_device_sysfs_file() helper function is removed. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed