From: Takashi Iwai Date: Fri, 30 Jan 2015 19:16:37 +0000 (+0100) Subject: ASoC: Add sysfs entries via static attribute groups X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~22^2~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d29697dc3b92cb12a80632a5ade4fa26fd98225e;p=pandora-kernel.git ASoC: Add sysfs entries via static attribute groups Instead of calling device_create_file() manually, assign the static attribute group entries at the device registration. This simplifies the error handling and avoids the possible races. Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown --- Reading git-diff-tree failed