staging: vt6656: Use BIT() macro instead of bit shift operator
authorOscar Carter <oscar.carter@gmx.com>
Tue, 14 Apr 2020 15:38:46 +0000 (17:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 11:40:20 +0000 (13:40 +0200)
commit91fdbcd909293f491f9773fef5b39605126cbf94
treecb4aa36f36a1015b5b8a9c0bdd062db7ebfcbb55
parentf823cce279368162a161852de189d654a1e61b72
staging: vt6656: Use BIT() macro instead of bit shift operator

Use the BIT() macro instead of the bit left shift operator. So the code
is more clear.

It's safe to remove the casting to u16 type because the value obtained
never exceeds 16 bits. So the casting is unnecessary.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200414153849.5785-3-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c