Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4e2400a authored by Federico Vaga's avatar Federico Vaga Committed by Greg Kroah-Hartman
Browse files

base/core.c: improve comment of the function device_find_child()

parent 5240d58c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1372,6 +1372,8 @@ int device_for_each_child(struct device *parent, void *data,
 * if it does.  If the callback returns non-zero and a reference to the
 * current device can be obtained, this function will return to the caller
 * and not iterate over any more devices.
 *
 * NOTE: you will need to drop the reference with put_device() after use.
 */
struct device *device_find_child(struct device *parent, void *data,
				 int (*match)(struct device *dev, void *data))