/* Unregisters a USB host callback. 
Unregisters an asynchronous callback implemented by the user. Removing it from the internal callback registration table. */
enum status_code usb_host_unregister_callback(struct usb_module *module_inst, enum usb_host_callback callback_type)
/* Unregisters a USB host callback. 
Unregisters an asynchronous callback implemented by the user. Removing it from the internal callback registration table. */
enum status_code usb_host_unregister_callback(struct usb_module *module_inst, enum usb_host_callback callback_type)
{
	Assert(module_inst);
	module_inst->host_callback[callback_type] = NULL;
	module_inst->host_registered_callback_mask &= ~(1 << callback_type);
	return STATUS_OK;
}