]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ir-usb: simplify endpoint check
authorJohan Hovold <johan@kernel.org>
Wed, 22 Jan 2020 10:15:30 +0000 (11:15 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 23 Jan 2020 08:11:36 +0000 (09:11 +0100)
commitfea544f278595299c633347df0eb05e8b6475ae7
tree9890ab7d9524e32388a20203e5846ec30dd9d420
parentd584e0fe2246f03c9e8cbd3d955daad3debf3dda
USB: serial: ir-usb: simplify endpoint check

Simplify the endpoint sanity check by letting core verify that the
required endpoints are present.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ir-usb.c