// GetByName looks up a device by name
GetByName looks up a device by name
// GetByName looks up a device by name
func (r Devices) GetByName(name DeviceName) Device {
	for _, device := range r {
		if device.Path() == name.Path() {
			return device
		}
	}
	return Device{}
}
func ( r Devices ) GetByName ( name DeviceName ) Device { for _ , device := range r { if device . Path ( ) == name . Path ( ) { return device } } return Device { } }
GetByName looks up a device by name
GetByName looks up a device by name