[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1414427215-14380-3-git-send-email-romain.perier@gmail.com>
Date: Mon, 27 Oct 2014 16:26:48 +0000
From: Romain Perier <romain.perier@...il.com>
To: heiko@...ech.de
Cc: devicetree@...r.kernel.org, broonie@...nel.org,
lgirdwood@...il.com, linux-kernel@...r.kernel.org,
grant.likely@...aro.org, robh@...nel.org, mark.rutland@....com,
johan@...nel.org, linux-pm@...r.kernel.org, linux@...ck-us.net,
lee.jones@...aro.org, balbi@...com, robh+dt@...nel.org,
pawel.moll@....com, ijc+devicetree@...lion.org.uk,
galak@...eaurora.org, linux@....linux.org.uk,
swarren@...dotorg.org, thierry.reding@...il.com, gnurou@...il.com,
linux-arm-kernel@...ts.infradead.org, linux-tegra@...r.kernel.org
Subject: [PATCH v1 03/10] regulator: act8865: Use of_is_system_power_controller helper function
Signed-off-by: Romain Perier <romain.perier@...il.com>
---
drivers/regulator/act8865-regulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c
index 76301ed..435aba1 100644
--- a/drivers/regulator/act8865-regulator.c
+++ b/drivers/regulator/act8865-regulator.c
@@ -365,7 +365,7 @@ static int act8865_pmic_probe(struct i2c_client *client,
return ret;
}
- if (of_system_has_poweroff_source(dev->of_node)) {
+ if (of_is_system_power_controller(dev->of_node)) {
if (!pm_power_off) {
act8865_i2c_client = client;
act8865->off_reg = off_reg;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists