code: func (h *Handle) DevLinkGetDeviceByName(Bus string, Device string) (*DevlinkDevice, error) {
  	f, req, err := h.createCmdReq(nl.DEVLINK_CMD_GET, Bus, Device)
  	if err != nil {
  		return nil, err
  	}
  
  	respmsg, err := req.Execute(unix.NETLINK_GENERIC, 0)
  	if err != nil {
  		return nil, err
  	}
  	dev, err := parseDevlinkDevice(respmsg)
  	if err == nil {
  		h.getEswitchAttrs(f, dev)
  	}
  	return dev, err
  }
docs: // DevlinkGetDeviceByName provides a pointer to devlink device and nil error,
  // otherwise returns an error code.