HID: usbhid: inline some simple routines