chiark / gitweb /
[PATCH] fix a few stale comments in namedev.c
authorgreg@kroah.com <greg@kroah.com>
Tue, 13 Jan 2004 07:22:13 +0000 (23:22 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:15 +0000 (21:13 -0700)
namedev.c

index 80ab96afe53df483f4d7fb5444cc2b66816af9c0..4247b26693a96e2fec88d4639f8924ff151d916d 100644 (file)
--- a/namedev.c
+++ b/namedev.c
@@ -449,7 +449,7 @@ static int match_id(struct config_device *dev, struct sysfs_class_device *class_
        int found;
        char *temp = NULL;
 
        int found;
        char *temp = NULL;
 
-       /* we have to have a sysfs device for NUMBER to work */
+       /* we have to have a sysfs device for ID to work */
        if (!sysfs_device)
                return -ENODEV;
 
        if (!sysfs_device)
                return -ENODEV;
 
@@ -480,7 +480,7 @@ static int match_place(struct config_device *dev, struct sysfs_class_device *cla
        int found;
        char *temp = NULL;
 
        int found;
        char *temp = NULL;
 
-       /* we have to have a sysfs device for NUMBER to work */
+       /* we have to have a sysfs device for PLACE to work */
        if (!sysfs_device)
                return -ENODEV;
 
        if (!sysfs_device)
                return -ENODEV;