Staging: media: lirc: Use USB API functions rather than constants
authorShraddha Barke <shraddha.6596@gmail.com>
Tue, 29 Sep 2015 19:21:28 +0000 (00:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Sep 2015 02:02:58 +0000 (04:02 +0200)
commitb3ce2076c70087c31a03d87900a7b868d0ead1bb
tree8efb48ba1a21075826227b65d67ad48bfd1c5f41
parentd0a76bbfe920e056e761bfcb77f3b95bd3bce98f
Staging: media: lirc: Use USB API functions rather than constants

Introduce use of function usb_endpoint_is_int_in() and
usb_endpoint_is_int_out(). Also remove the variables
ep_dir and ep_type as they are not used anymore.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/lirc/lirc_sasem.c