drm/bridge/sii8620: stop using macros having NULL values
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 18 Oct 2016 12:08:10 +0000 (14:08 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:53:54 +0000 (13:53 +0900)
commit55d47b05fae54a8554b3cf6491ee507e02d5528a
tree90a3bdd76d96da7a6455dede7412436996dbcdee
parentb369f1a19957c9df54aeb1b440eb07554731a883
drm/bridge/sii8620: stop using macros having NULL values

Many VAL_* macros represent single unset bit, ie their value is 0.
These macros are confusing and obfuscates the code.
The patch removes all uses of such macros, and replaces all
uses of single-set-bit VAL_* macros with their BIT_* equivalent.
Beside cleaning it makes the driver closer to the mainline.

Change-Id: Ib96a329d4023affe3d39bfff746af8773871c6d3
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/bridge/sii8620.c
drivers/gpu/drm/bridge/sii8620.h