From: Takashi Iwai Date: Thu, 5 Feb 2015 20:38:59 +0000 (+0100) Subject: xen: balloon: Use static attribute groups for sysfs entries X-Git-Tag: omap-for-v4.1/fixes-rc1~124^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a473a7e1d4f81fc3e355c95982820bb8eae97d;p=pandora-kernel.git xen: balloon: Use static attribute groups for sysfs entries Instead of manual calls of device_create_file(), device_remove_file() and sysfs_create_group(), assign static attribute groups to the device to register. This simplifies the code and avoids possible races. Signed-off-by: Takashi Iwai Signed-off-by: David Vrabel --- Reading git-diff-tree failed