]> err.no Git - linux-2.6/commit
dmi-id: Use dynamic sysfs attributes
authorJean Delvare <khali@linux-fr.org>
Mon, 13 Aug 2007 09:24:33 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:04 +0000 (14:51 -0700)
commit6374475661172d508a9b93a2740a3fdc9d899756
tree81a53e300e8b3066c44abccac8c2d2e9ac6a1f67
parent990e53f880be9ff93072b4cce590ec2826cee0b6
dmi-id: Use dynamic sysfs attributes

We can use sysfs attributes with an extra parameter for dmi id
attributes. This makes it possible to use the same callback function
for all attributes, reducing the binary size significantly (-18% on
x86_64.)

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Lennart Poettering <mzxreary@0pointer.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/firmware/dmi-id.c