]> git.baikalelectronics.ru Git - kernel.git/commit
staging: sm750fb: Replace POKE32 and PEEK32 by inline functions
authorMatthieu Simon <gmatthsim@gmail.com>
Wed, 8 Feb 2017 06:48:43 +0000 (22:48 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 12:23:13 +0000 (13:23 +0100)
commit7805123d6d2718285099d744c00446229d3783b4
tree709da17d18f67294f1dd821d46d199cc1aac17c5
parentc648637f66ff91c01764196cff0c3ea241c8fdff
staging: sm750fb: Replace POKE32 and PEEK32 by inline functions

POKE32 and PEEK32 have been replaced by inlined functions poke32 and
peek32.
Having inline functions instead of macros help to get the correct
type-checking and avoid the possible precedence issues reported by
checkpatch.

Signed-off-by: Matthieu Simon <gmatthsim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c
drivers/staging/sm750fb/ddk750_chip.h
drivers/staging/sm750fb/ddk750_display.c
drivers/staging/sm750fb/ddk750_hwi2c.c
drivers/staging/sm750fb/ddk750_mode.c
drivers/staging/sm750fb/ddk750_power.c
drivers/staging/sm750fb/ddk750_power.h
drivers/staging/sm750fb/ddk750_swi2c.c
drivers/staging/sm750fb/sm750_cursor.c
drivers/staging/sm750fb/sm750_hw.c