/* usb_serial_close - handle close() calls */ static status_t usb_serial_close(void *cookie) { TRACE_FUNCALLS("> usb_serial_close(0x%08x)\n", cookie); SerialDevice *device = (SerialDevice *)cookie; return device->Close(); }
/* usb_serial_close - handle close() calls */ static status_t usb_serial_close(void *cookie) { TRACE_FUNCALLS("> usb_serial_close(0x%08x)\n", cookie); SerialDevice *device = (SerialDevice *)cookie; status_t status = device->Close(); TRACE_FUNCRET("< usb_serial_close() returns: 0x%08x\n", status); return status; }