OSDN Git Service

drm/mediatek: Eliminate the magic number in array size
authorBernard Zhao <bernard@vivo.com>
Wed, 6 May 2020 12:42:55 +0000 (05:42 -0700)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 20 May 2020 16:10:08 +0000 (00:10 +0800)
commit3852489c79abe31101f07e395c63cce64de0c6d6
tree3b864eebe67c2b254b97aa151afd01d7ab40e079
parent3cda3d31c50cb03d41880d8c5d83ed16e16b3a9d
drm/mediatek: Eliminate the magic number in array size

Eiminate the magic number in array size, there macro defines in
hdmi.h.

Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_hdmi.c