diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-05 15:38:58 -0500 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-03-16 10:49:13 -0400 |
commit | 4644e5ab06dda96f7080569992202e1aec8d3b07 (patch) | |
tree | 5352e490833cbc5b9c374c5c6957d42b2f924fbc /block | |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions