]> err.no Git - linux-2.6/commit
Driver core: device_add_attrs() cleanup
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 14 Feb 2007 06:39:26 +0000 (22:39 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:19:18 +0000 (15:19 -0800)
commit4aca67e5f54bf6ee439b5bdbc77007a547ad5b43
tree06b6c0ba74397f4064383644b3fe6fb7d65ec364
parent873760fbf4d1c8c477a50386438303b6b89b6566
Driver core: device_add_attrs() cleanup

Clean up the coding in device_add_attrs() a bit.

Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/bus.c