From: Kay Sievers Date: Sat, 4 Jul 2009 14:51:29 +0000 (+0200) Subject: mem_class: use minor as index instead of searching the array X-Git-Tag: v2.6.32-rc1~667^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=389e0cb9a1dec22ec37a104dec5009dd7a33dd59;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed