From: Takashi Iwai Date: Wed, 4 Feb 2015 14:18:07 +0000 (+0100) Subject: firmware: Avoid manual device_create_file() calls X-Git-Tag: omap-for-v4.1/fixes-rc1~166^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46239902ecddd4690b6d800da258d0ab65a5cb78;p=pandora-kernel.git firmware: Avoid manual device_create_file() calls Use the static attribute groups assigned to the device instead of manual device_create_file() & co calls. It simplifies the code and can avoid possible races, too. Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed