From: Neil Armstrong Date: Fri, 30 Aug 2019 12:09:23 +0000 (+0200) Subject: video: meson: remove power domain get X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=0a3561119faac22be5befdbe3fe261c0dfbe8011;p=u-boot.git video: meson: remove power domain get Remove getting and enabling the node power domain since it's now handled by the dm core directly. Signed-off-by: Neil Armstrong Reviewed-by: Anatolij Gustschin --- diff --git a/drivers/video/meson/meson_vpu.c b/drivers/video/meson/meson_vpu.c index 279401d597..34d35749eb 100644 --- a/drivers/video/meson/meson_vpu.c +++ b/drivers/video/meson/meson_vpu.c @@ -7,7 +7,6 @@ */ #include "meson_vpu.h" -#include #include #include #include @@ -93,7 +92,6 @@ static const struct udevice_id meson_vpu_ids[] = { static int meson_vpu_probe(struct udevice *dev) { struct meson_vpu_priv *priv = dev_get_priv(dev); - struct power_domain pd; struct udevice *disp; int ret; @@ -115,14 +113,6 @@ static int meson_vpu_probe(struct udevice *dev) if (!priv->dmc_base) return -EINVAL; - ret = power_domain_get(dev, &pd); - if (ret) - return ret; - - ret = power_domain_on(&pd); - if (ret) - return ret; - meson_vpu_init(dev); /* probe the display */