staging: kpc2000: kpc_i2c: Use BIT macro rather than manual bit shifting
authorGeordan Neukum <gneukum1@gmail.com>
Sun, 26 May 2019 01:18:29 +0000 (01:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2019 21:04:26 +0000 (14:04 -0700)
commitc5164e568cd75b70382103b108b5bc0d74e0617c
tree41dffd3f173dd0e16ec1c58102b2bd7e4ff3c0b7
parent935d47e209cc5e7e93bcf789a22ddbe6fc67864d
staging: kpc2000: kpc_i2c: Use BIT macro rather than manual bit shifting

The FEATURES_* symbols use bit shifting of the style (1 << k) in order
to assign a certain meaning to the value of inividual bits being set
in the value of a given variable. Instead, use the BIT() macro in
order to improve readability and maintain consistency with the rest
of the kernel.

Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000_i2c.c