summaryrefslogtreecommitdiff
path: root/libudev
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-12-03 13:25:19 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2009-12-03 13:25:19 +0100
commit54d4f54e852cfe91246b8519e8daf48c52a3afa0 (patch)
tree20982f9b24e11e29a0782a856540677b890ce36f /libudev
parent89b62373422097a8eb6c1540bd41a572ed573fe6 (diff)
udev_device_get_parent_with_subsystem_devtype(): Clarify documentation
devtype can be NULL, in which case it is ignored for matching.
Diffstat (limited to 'libudev')
-rw-r--r--libudev/libudev-device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libudev/libudev-device.c b/libudev/libudev-device.c
index 5d1ad9f223..4717b582b3 100644
--- a/libudev/libudev-device.c
+++ b/libudev/libudev-device.c
@@ -577,6 +577,9 @@ struct udev_device *udev_device_get_parent(struct udev_device *udev_device)
* value, and fill in information from the sys device and the udev
* database entry.
*
+ * If devtype is NULL, only subsystem is checked, and any devtype will
+ * match.
+ *
* The returned the device is not referenced. It is attached to the
* child device, and will be cleaned up when the child device
* is cleaned up.