summaryrefslogtreecommitdiff
path: root/samples/kobject
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-07-04 16:51:29 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 09:50:47 -0700
commit389e0cb9a1dec22ec37a104dec5009dd7a33dd59 (patch)
tree9396beba4a873dc2c8fcd1a7f16b2bb7cd3fc94e /samples/kobject
parenta4dbd6740df0872cdf0a86841f75beec8381964d (diff)
mem_class: use minor as index instead of searching the array
Declare the device list with the minor numbers as the index, which saves us from searching for a matching list entry. Remove old devfs permissions declaration. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions