]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: sm750fb: use BIT macro for I2C_STATUS fields
authorMike Rapoport <mike.rapoport@gmail.com>
Wed, 10 Feb 2016 16:34:21 +0000 (18:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:52:37 +0000 (19:52 -0800)
commit3e155b813406fbb4aed1a54eecd24a90cf13dd96
treeb23f43c758ae3aca64a0767f55493cff68666e93
parentb71413e0d557684293a10fb1cd5747956ef42bd4
staging: sm750fb: use BIT macro for I2C_STATUS fields

Replace complex definition of I2C_STATUS register fields with BIT() macro
and use open-coded implementation for register manipulation

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_hwi2c.c
drivers/staging/sm750fb/ddk750_reg.h