video: otm8009a: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 28 Feb 2023 01:55:20 +0000 (02:55 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 8 Apr 2023 01:53:23 +0000 (03:53 +0200)
commit2d8253cc04b487d5dd37d76f48ea052662b7d969
tree147e843dfeb486cf1ed48ff0252ebbbbc415a931
parent6419dbabe2ccaff9cbe4351080885044f5b468b2
video: otm8009a: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR

The DM_REGULATOR symbol has SPL counterpart in:
  drivers/power/regulator/Kconfig:config SPL_DM_REGULATOR
Use CONFIG_IS_ENABLED() macro to match on the correct
variant depending on the build stage.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/orisetech_otm8009a.c