Method
FwupdPluginUdevDeviceget_parent_with_subsystem
Declaration [src]
FuUdevDevice*
fu_udev_device_get_parent_with_subsystem (
FuUdevDevice* self,
const gchar* subsystem
)
Description [src]
Get the device that is a parent of self and has the provided subsystem.
Available since: | 1.7.6 |
Parameters
subsystem |
const gchar* |
The name of a udev subsystem. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. |
Return value
Returns: | FuUdevDevice |
Device, or |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |