chiark / gitweb /
[PATCH] add comment in wait_for_sysfs to explain the structure better.
authorgreg@kroah.com <greg@kroah.com>
Fri, 8 Oct 2004 07:28:16 +0000 (00:28 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:04 +0000 (21:37 -0700)
wait_for_sysfs.c

index cb94b64404e24e346f7e698c472704abae3ac99c..2504b2e0c3fa98f6b5677364b567bbb61fd1d5df 100644 (file)
@@ -99,7 +99,8 @@ static int wait_for_class_device_attributes(struct sysfs_class_device *class_dev
 /* skip waiting for physical device */
 static int class_device_expect_no_device_link(struct sysfs_class_device *class_dev)
 {
-       /* List of devices without a "device" symlink */
+       /* List of devices without a "device" symlink
+        * set .device to NULL to accept all devices in that subsystem */
        static struct class_device {
                char *subsystem;
                char *device;