sanei_usb: Deduplicate endpoint setup code
The endpoint setup code is currently duplicated three times and within each of the copy the code is duplicated for each different endpoint. This PR reduces the duplication and improves code reusability.
The endpoint setup code is currently duplicated three times and within each of the copy the code is duplicated for each different endpoint. This PR reduces the duplication and improves code reusability.