staging: sm750fb: change definition of POWER_MODE_CTRL multi-bit field
authorMike Rapoport <mike.rapoport@gmail.com>
Sun, 17 Jan 2016 18:04:31 +0000 (20:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 02:51:36 +0000 (18:51 -0800)
commitf41b17fc3f124729e0778f64ba2039f4b71b0fc6
tree0529ec30b434f90641cd41d46309d98b5f41a4bf
parent776980cf0f8cd3c8e5863ec92bccb8e670e3efa1
staging: sm750fb: change definition of POWER_MODE_CTRL multi-bit field

Use more straight-forward definitions for multi-bit field of
POWER_MODE_CTRL register and use open-coded implementation for register
manipulations.

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