From: Takashi Iwai Date: Thu, 5 Feb 2015 20:38:58 +0000 (+0100) Subject: xen: pcpu: Use static attribute groups for sysfs entry X-Git-Tag: omap-for-v4.2/o2_dc~114^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4644e5ab06dda96f7080569992202e1aec8d3b07;p=pandora-kernel.git xen: pcpu: Use static attribute groups for sysfs entry Instead of manual calls of device_create_file() and device_remove_file(), assign the static attribute groups to the device to register. The conditional build of sysfs is done in is_visible callback instead. Signed-off-by: Takashi Iwai Signed-off-by: David Vrabel --- Reading git-diff-tree failed