power: domain: Introduce dev_power_domain_off
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 27 Sep 2019 08:18:14 +0000 (13:48 +0530)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:03 +0000 (08:40 -0600)
commit0cf795a8024f36e2aaea3db8ab8b4d3805dc541c
treef5f9138d55adf5ad12b1b90d48f20492911fc7af
parentaf17b0dad556889ebdaf5c3e62a4844e15189374
power: domain: Introduce dev_power_domain_off

Add dev_power_domain_off() api to disable all the power-domains
corresponding to a device

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/domain/power-domain-uclass.c
include/power-domain.h