Skip to content
Commit b6a473a7 authored by Takashi Iwai's avatar Takashi Iwai Committed by David Vrabel
Browse files

xen: balloon: Use static attribute groups for sysfs entries



Instead of manual calls of device_create_file(), device_remove_file()
and sysfs_create_group(), assign static attribute groups to the device
to register.  This simplifies the code and avoids possible races.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
parent 4644e5ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment