mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
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 <narmstrong@baylibre.com> Reviewed-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
a0513b40cc
commit
0a3561119f
1 changed files with 0 additions and 10 deletions
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
#include "meson_vpu.h"
|
||||
#include <power-domain.h>
|
||||
#include <efi_loader.h>
|
||||
#include <dm/device-internal.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue