commit | 389e0cb9a1dec22ec37a104dec5009dd7a33dd59 | [log] [tgz] |
---|---|---|
author | Kay Sievers <kay.sievers@vrfy.org> | Sat Jul 04 16:51:29 2009 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Sep 15 09:50:47 2009 -0700 |
tree | 9396beba4a873dc2c8fcd1a7f16b2bb7cd3fc94e | |
parent | a4dbd6740df0872cdf0a86841f75beec8381964d [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>