[PATCH] fix a few stale comments in namedev.c
This commit is contained in:
parent
71cf391508
commit
1f7148c7df
|
@ -449,7 +449,7 @@ static int match_id(struct config_device *dev, struct sysfs_class_device *class_
|
||||||
int found;
|
int found;
|
||||||
char *temp = NULL;
|
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)
|
if (!sysfs_device)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
|
@ -480,7 +480,7 @@ static int match_place(struct config_device *dev, struct sysfs_class_device *cla
|
||||||
int found;
|
int found;
|
||||||
char *temp = NULL;
|
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)
|
if (!sysfs_device)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue