|
Zbigniew Jędrzejewski-Szmek |
d66047 |
From bbf5b0815c2561c3a98903160f3193953ba962c6 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
Date: Sat, 30 Nov 2013 20:27:54 -0500
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
Subject: [PATCH] docs: remove unneeded the's in gudev docs
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
https://bugs.freedesktop.org/show_bug.cgi?id=72164
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
src/libudev/libudev-device.c | 10 ++++------
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
1 file changed, 4 insertions(+), 6 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
index a644904..161181a 100644
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
--- a/src/libudev/libudev-device.c
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
+++ b/src/libudev/libudev-device.c
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
@@ -980,9 +980,8 @@ static struct udev_device *device_new_from_parent(struct udev_device *udev_devic
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
* Find the next parent device, and fill in information from the sys
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
* device and the udev database entry.
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
*
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
- * The returned the device is not referenced. It is attached to the
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
- * child device, and will be cleaned up when the child device
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
- * is cleaned up.
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
+ * Returned device is not referenced. It is attached to the child
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
+ * device, and will be cleaned up when the child device is cleaned up.
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
*
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
* It is not necessarily just the upper level directory, empty or not
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
* recognized sys directories are ignored.
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
@@ -1016,9 +1015,8 @@ _public_ struct udev_device *udev_device_get_parent(struct udev_device *udev_dev
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
* If devtype is #NULL, only subsystem is checked, and any devtype will
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
* match.
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
*
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
- * The returned the device is not referenced. It is attached to the
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
- * child device, and will be cleaned up when the child device
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
- * is cleaned up.
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
+ * Returned device is not referenced. It is attached to the child
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
+ * device, and will be cleaned up when the child device is cleaned up.
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
*
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
* It can be called as many times as needed, without caring about
|
|
Zbigniew Jędrzejewski-Szmek |
d66047 |
* references.
|