[U-Boot] [PATCH 1/2] dm: core: device: switch off power domain after device removal

Anatolij Gustschin agust at denx.de
Sun Jul 14 16:44:10 UTC 2019


Hi Simon,

On Fri, 12 Jul 2019 15:05:06 -0600
Simon Glass sjg at chromium.org wrote:
...
> >
> > +       if (dev->parent && device_get_uclass_id(dev) != UCLASS_POWER_DOMAIN &&  
> 
> Putting my code-size hat on, what do you think about adding an
> IF_ENABLED(POWER_DOMAIN) as the first arg?

Good point, I'll add it in v2 patch.

Thanks,
Anatolij


More information about the U-Boot mailing list