commit | cc85e93342c030f8ba07f572afa159ec4518231f | [log] [tgz] |
---|---|---|
author | Bastian Blank <waldi@debian.org> | Wed Jun 29 14:39:26 2011 +0200 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Thu Jun 30 12:15:29 2011 -0400 |
tree | 329d1450de5086b9db0b9bfd8fad495ca823a4a3 | |
parent | 08b8bfc1c649cf82edf43f686cbb9a4bac809679 [diff] |
xen: Populate xenbus device attributes The xenbus bus type uses device_create_file to assign all used device attributes. However it does not remove them when the device goes away. This patch uses the dev_attrs field of the bus type to specify default attributes for all devices. Signed-off-by: Bastian Blank <waldi@debian.org> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>