From: Bastian Blank Date: Wed, 29 Jun 2011 12:39:26 +0000 (+0200) Subject: xen: Populate xenbus device attributes X-Git-Tag: v3.1-rc1~318^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc85e93342c030f8ba07f572afa159ec4518231f;p=pandora-kernel.git 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 Acked-by: Ian Campbell Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed