]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20d24830c9a7814f2ef086310773b53a70f3af5b
tree8efb48ba1a21075826227b65d67ad48bfd1c5f41
parenta3d51d0a1b7b5b626606173b4a3ee644df258994
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