add_device


Description:

public unowned DeviceLink add_device (Device dev)

Associate a device with a platform.

The returned DeviceLink can be used to record extra metadata against the link

Parameters:

this

a platform entity

dev

the device to associate

Returns:

the device association