staging: emxx_udc: Use standard BIT() macro
authorAlex Dewar <alex.dewar90@gmail.com>
Tue, 18 Aug 2020 13:49:18 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 14:12:14 +0000 (16:12 +0200)
commit217b97f69e60e738c3d5f56453aef886da686457
treea4f72a413353f9c5aa26dc117e54ce9ec38ae534
parentc9638363f02df48a8b215c6e4b056f7646ba403f
staging: emxx_udc: Use standard BIT() macro

Currently emxx_udc.h defines bit values using local macros. Use the
standard one instead.

Also, combine bit values with bitwise-or rather than addition, as
suggested by Coccinelle.

Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Link: https://lore.kernel.org/r/20200818134922.409195-1-alex.dewar90@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.h