From: Takashi Iwai Date: Wed, 4 Feb 2015 13:37:34 +0000 (+0100) Subject: tun: Use static attribute groups for sysfs entries X-Git-Tag: fixes-v4.0-rc1~150^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4d33e24b650e3fc3659b8fafe3e88ead731b658;p=pandora-kernel.git tun: 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed