]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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

index 81fcafb9f589e3098ac8d7b3ed6dca42e3b98dfa,092906c82c9a9a7cf8b025cc37ce69a73d3adcf8..6a6473eb0e54a1e9fe21a15da0b5640bee3fc2c7
@@@ -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)