diff options
| author | Oscar Carter <oscar.carter@gmx.com> | 2020-04-14 17:38:46 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-16 13:40:20 +0200 |
| commit | 91fdbcd909293f491f9773fef5b39605126cbf94 (patch) | |
| tree | cb4aa36f36a1015b5b8a9c0bdd062db7ebfcbb55 /include/linux/pps_kernel.h | |
| parent | f823cce279368162a161852de189d654a1e61b72 (diff) | |
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>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions
