staging: sm750fb: change definition of DE_PITCH fields
authorMike Rapoport <mike.rapoport@gmail.com>
Mon, 15 Feb 2016 17:54:01 +0000 (19:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Feb 2016 02:26:17 +0000 (18:26 -0800)
commit7124080feb0a335a88822462263a72fdcf5491aa
tree6d956aa5224f495165b24517359ffb29bbef3890
parente2e225877442076f9e563c7b99647cf60fc3a778
staging: sm750fb: change definition of DE_PITCH fields

Use stratight-forward definition of DE_PITCH register fields
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/sm750_accel.c
drivers/staging/sm750fb/sm750_accel.h