commit | 4644e5ab06dda96f7080569992202e1aec8d3b07 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Feb 05 21:38:58 2015 +0100 |
committer | David Vrabel <david.vrabel@citrix.com> | Mon Mar 16 14:49:13 2015 +0000 |
tree | 5352e490833cbc5b9c374c5c6957d42b2f924fbc | |
parent | 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda [diff] |
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 <tiwai@suse.de> Signed-off-by: David Vrabel <david.vrabel@citrix.com>