OSDN Git Service

Staging: mt29f_spinand: Prefer using the BIT macro
authorEva Rachel Retuya <eraretuya@gmail.com>
Sat, 24 Oct 2015 14:35:47 +0000 (22:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 19:09:16 +0000 (04:09 +0900)
commit6f663d5de57ae65ae1e38cefdad3e109432c169e
treea2ade6a6ba2a4bc5a0bffbbdce28957394dab0a3
parentc75e057744fb16d00668674cf41d63b61ee3cd2d
Staging: mt29f_spinand: Prefer using the BIT macro

Replace all instances of bit shifting on 1 with the BIT(x) macro. In
addition, convert other non-1 shift operations with the equivalent
BIT(x) macro for uniformity. Issue pointed out by checkpatch.

CHECK: Prefer using the BIT macro

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt29f_spinand/mt29f_spinand.h