summaryrefslogtreecommitdiff
path: root/fs/sysfs/dir.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-06-14 03:45:17 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-11 16:09:06 -0700
commitad6a1e1c66009ba9dcd2f5c90ffa1fb4ce72fce0 (patch)
tree260f2a1707246998ba6f83ac1fa5a518626bbb1e /fs/sysfs/dir.c
parent7b595756ec1f49e0049a9e01a1298d53a7faaa15 (diff)
downloadlinux-3.10-ad6a1e1c66009ba9dcd2f5c90ffa1fb4ce72fce0.tar.gz
linux-3.10-ad6a1e1c66009ba9dcd2f5c90ffa1fb4ce72fce0.tar.bz2
linux-3.10-ad6a1e1c66009ba9dcd2f5c90ffa1fb4ce72fce0.zip
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 <htejun@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/dir.c')
0 files changed, 0 insertions, 0 deletions