Method
FwupdPluginDeviceget_root
Declaration [src]
FuDevice*
fu_device_get_root (
FuDevice* self
)
Description [src]
Gets the root parent device. A parent device is logically “above” the current device and this may be reflected in client tools.
If there is no parent device defined, then self
is returned.
Available since: | 1.4.0 |
Return value
Returns: | FuDevice |
A device. |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |