summaryrefslogtreecommitdiffstats
path: root/Documentation/kobject.txt
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-09-13 00:06:57 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 23:51:02 +0200
commitce2c9cb0259acd2aed184499ebe41ab00da13b25 (patch)
tree1c0b25cc5cff7f7778b3e8c7441c2f5d89f027f6 /Documentation/kobject.txt
parentDrivers: clean up direct setting of the name of a kset (diff)
downloadlinux-ce2c9cb0259acd2aed184499ebe41ab00da13b25.tar.xz
linux-ce2c9cb0259acd2aed184499ebe41ab00da13b25.zip
kobject: remove the static array for the name
Due to historical reasons, struct kobject contained a static array for the name, and a dynamic pointer in case the name got bigger than the array. That's just dumb, as people didn't always know which variable to reference, even with the accessor for the kobject name. This patch removes the static array, potentially saving a lot of memory as the majority of kobjects do not have a very long name. Thanks to Kay for the idea to do this. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/kobject.txt')
0 files changed, 0 insertions, 0 deletions