diff options
author | Guenter Roeck | 2013-07-15 01:05:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-07-16 19:57:37 +0200 |
commit | 39ef311204941ddd01ea2950d6220c8ccc710d15 (patch) | |
tree | ff043a79a7864d0e50367bcbca80f6562a282ae5 /include/linux/dmapool.h | |
parent | sysfs: prevent warning when only using binary attributes (diff) | |
download | kernel-qcow2-linux-39ef311204941ddd01ea2950d6220c8ccc710d15.tar.gz kernel-qcow2-linux-39ef311204941ddd01ea2950d6220c8ccc710d15.tar.xz kernel-qcow2-linux-39ef311204941ddd01ea2950d6220c8ccc710d15.zip |
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 <linux@roeck-us.net>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/dmapool.h')
0 files changed, 0 insertions, 0 deletions