video: Avoid using #ifdef in console_rotate.c
authorSimon Glass <sjg@chromium.org>
Sat, 21 Dec 2019 01:10:35 +0000 (18:10 -0700)
committerAnatolij Gustschin <agust@denx.de>
Thu, 2 Jan 2020 15:25:25 +0000 (16:25 +0100)
commitc6567319019df0e92db4a00d0dd35c3a8e9c2f7f
tree1b48cfac2c43387d1891722db1715fed6e4996c3
parent46421197d51df7f050e9b0bdcd3edd0df3eaaf35
video: Avoid using #ifdef in console_rotate.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() instead.

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