From: Guenter Roeck Date: Sun, 14 Jul 2013 23:05:57 +0000 (-0700) Subject: driver core: Introduce device_create_groups X-Git-Tag: v3.11-rc2~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ef311204941ddd01ea2950d6220c8ccc710d15;p=pandora-kernel.git driver core: Introduce device_create_groups device_create_groups lets callers create devices as well as associated sysfs attributes with a single call. This avoids race conditions seen if sysfs attributes on new devices are created later. [fixed up comment block placement and add checks for printk buffer formats - gregkh] Signed-off-by: Guenter Roeck Cc: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed