From: Tejun Heo Date: Wed, 13 Jun 2007 18:45:17 +0000 (+0900) Subject: driver-core: make devt_attr and uevent_attr static X-Git-Tag: v2.6.23-rc1~1107^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad6a1e1c66009ba9dcd2f5c90ffa1fb4ce72fce0;p=pandora-kernel.git driver-core: make devt_attr and uevent_attr static devt_attr and uevent_attr are either allocated dynamically with or embedded in device and class_device as they needed their owner field set to the module implementing the driver. Now that sysfs implements immediate disconnect and owner field removed from struct attribute, there is no reason to do this. Remove these attributes from [class_]device and use static attribute structures instead. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed