staging: fbtft: convert a macro to a function.
authorBhagyashri Dighole <digholebhagyashri@gmail.com>
Fri, 8 Mar 2019 15:31:28 +0000 (21:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:05:22 +0000 (07:05 +0100)
commitdfa5fbb9dbced2808e12207942426868c67c046a
tree737af3866caf2306e6d33a2de85a4ed61cbbf61f
parentd8b2f7cfe4d40e771376bfa4e399f26fa9ef49e4
staging: fbtft: convert a macro to a function.

Convert a macro to an inline function to improve type safety and make
the code simpler.

Signed-off-by: Bhagyashri Dighole <digholebhagyashri@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_watterott.c