From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sun, 14 Jul 2019 18:44:10 +0200 Subject: [U-Boot] [PATCH 1/2] dm: core: device: switch off power domain after device removal In-Reply-To: References: <20190710140956.1647-1-agust@denx.de> Message-ID: <20190714184410.38263e8e@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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