USB: Use EHCI control transfer pid macros instead of constant values.

Macros with good names offer better readability. Besides, also move
the definition to ehci.h.

Signed-off-by: Dingyan Li <18500469033@163.com>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20240309033709.14604-1-18500469033@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Dingyan Li 2024-03-09 11:37:09 +08:00 • committed by Greg Kroah-Hartman
commit 110000b540
3 changed files with 20 additions and 18 deletions