video: Avoid using #ifdef in video-uclass.c
authorSimon Glass <sjg@chromium.org>
Sat, 21 Dec 2019 01:10:37 +0000 (18:10 -0700)
committerAnatolij Gustschin <agust@denx.de>
Thu, 2 Jan 2020 15:25:25 +0000 (16:25 +0100)
commit0c20aafe0b54ae9c924104bd1024e5b7e6359ca2
treeff067941d0b053cfdf5090820fb97ccde1757ff8
parent775d33229ffdc94be9a74d73ef6fabe6ea0e7a6f
video: Avoid using #ifdef in video-uclass.c

This code does not really need to use #ifdef. We can use if() instead and
gain build coverage without impacting code size.

Change the #ifdefs to use IS_ENABLED(), etc., instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c