chiark / gitweb /
[PATCH] namedev.c comments + debug patch
authorkay@vrfy.org <kay@vrfy.org>
Wed, 22 Oct 2003 04:48:11 +0000 (21:48 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:04:09 +0000 (21:04 -0700)
and a patch for namdev.c comments + debug
o correct 'device device'
o correct permission file to config file

namedev.c

index 3b0a0ca..d049349 100644 (file)
--- a/namedev.c
+++ b/namedev.c
@@ -564,7 +564,7 @@ static int get_attr(struct sysfs_class_device *class_dev, struct device_attr *at
                        if (tmpattr)
                                goto label_found;
 
-                       /* look in the class device device directory if present */
+                       /* look in the class device directory if present */
                        if (class_dev->sysdevice) {
                                tmpattr = sysfs_get_classdev_attr(class_dev, dev->sysfs_file);
                                if (tmpattr)
@@ -597,7 +597,7 @@ static int get_attr(struct sysfs_class_device *class_dev, struct device_attr *at
                                        if (tmpattr) 
                                                goto label_found;
 
-                                       /* look in the class device device directory if present */
+                                       /* look in the class device directory if present */
                                        if (class_dev_parent->sysdevice) {
                                                tmpattr = sysfs_get_classdev_attr(class_dev_parent, dev->sysfs_file);
                                                if (tmpattr)