media: flexcop-usb: use usb_endpoint_maxp()
authorJohan Hovold <johan@kernel.org>
Mon, 22 Aug 2022 15:14:56 +0000 (17:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Sep 2022 08:59:25 +0000 (10:59 +0200)
commita8be6b6ee9595d425f304770811f3513a503e61c
treefecc6415d0d632ae3a26637c77b6eeab9d12de61
parentfd449bb9ac44fdc334907db7bcc20ade9a4037cd
media: flexcop-usb: use usb_endpoint_maxp()

Use the usb_endpoint_maxp() helper instead of open coding.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20220822151456.27178-4-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/b2c2/flexcop-usb.c