core: device: use dev_power_domain_on
authorPeng Fan <peng.fan@nxp.com>
Tue, 17 Sep 2019 09:29:22 +0000 (09:29 +0000)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:02 +0000 (08:40 -0600)
commitf0cc4eae9a1702a768817ea25d9f23cece69d021
treed7047d5ce50b161b4a005e079cd78a69cf45609f
parent9c1e982218b2eaa4afed835fe12ef91d14c9659c
core: device: use dev_power_domain_on

When multiple power domains attached to a device, need power on
them all, so use dev_power_domain_on to do that.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/core/device.c