]> git.ipfire.org Git - thirdparty/u-boot.git/commit
dm: device: make power domain calls optional
authorAnatolij Gustschin <agust@denx.de>
Sun, 14 Jul 2019 19:11:01 +0000 (21:11 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commit44e02e39a91cd91aae5a28d90259d3a6996010bf
treecef69e3a2c0f6482602fc1cc589a808ed68e5145
parent2429613601c8cba82f05f4d58f8c9ba057849932
dm: device: make power domain calls optional

Reduce power domain calls when CONFIG_POWER_DOMAIN is disabled.
With gcc v8.2, this change saves 104 bytes.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/core/device.c