* 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.