Re: [PATCH] staging: vt6656: Use BIT() macro instead of bit shift operator
From: Greg Kroah-Hartman
Date: Mon Apr 13 2020 - 08:58:13 EST
On Sun, Apr 12, 2020 at 11:33:11AM +0200, Oscar Carter wrote:
> 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@xxxxxxx>
> ---
> drivers/staging/vt6656/card.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
This too did not apply :(