From: Takashi Iwai Date: Wed, 4 Feb 2015 13:38:55 +0000 (+0100) Subject: xen-netfront: Use static attribute groups for sysfs entries X-Git-Tag: fixes-v4.0-rc1~150^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27b917e54bed7156c2b0249969ace34a5f585626;p=pandora-kernel.git xen-netfront: Use static attribute groups for sysfs entries Instead of manual calls of device_create_file() and device_remove_files(), assign the static attribute groups to netdev groups array. This simplifies the code and avoids the possible races. Signed-off-by: Takashi Iwai Acked-by: David Vrabel Signed-off-by: David S. Miller --- Reading git-diff-tree failed