Merge branch 'master_regulator/fixes' of https://source.denx.de/u-boot/custodians...
authorTom Rini <trini@konsulko.com>
Sat, 8 Apr 2023 18:19:08 +0000 (14:19 -0400)
committerTom Rini <trini@konsulko.com>
Sat, 8 Apr 2023 18:19:08 +0000 (14:19 -0400)
- Fix usage of CONFIG_IS_ENABLED and DM_REGULATOR

1  2 
drivers/video/simple_panel.c

@@@ -110,11 -87,9 +110,11 @@@ static int simple_panel_of_to_plat(stru
  static int simple_panel_probe(struct udevice *dev)
  {
        struct simple_panel_priv *priv = dev_get_priv(dev);
 +      struct mipi_dsi_panel_plat *plat = dev_get_plat(dev);
 +      const u32 dsi_data = dev_get_driver_data(dev);
        int ret;
  
-       if (IS_ENABLED(CONFIG_DM_REGULATOR) && priv->reg) {
+       if (CONFIG_IS_ENABLED(DM_REGULATOR) && priv->reg) {
                debug("%s: Enable regulator '%s'\n", __func__, priv->reg->name);
                ret = regulator_set_enable(priv->reg, true);
                if (ret)