linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/5] mfd: tps65910: Convert ti, system-power-controller DT property to poweroff-source
@ 2014-10-22 15:26 Romain Perier
  2014-10-22 15:25 ` PERIER Romain
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Romain Perier @ 2014-10-22 15:26 UTC (permalink / raw)
  To: linux-arm-kernel

No longer use custom property to define poweroff capability, use the standard
DT property instead.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
---
 drivers/mfd/tps65910.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index 7612d89..b8dca8a 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -423,8 +423,7 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
 
 	board_info->irq = client->irq;
 	board_info->irq_base = -1;
-	board_info->pm_off = of_property_read_bool(np,
-			"ti,system-power-controller");
+	board_info->pm_off = of_system_has_poweroff_source(np);
 
 	return board_info;
 }
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-10-24  9:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 15:26 [PATCH v1 1/5] mfd: tps65910: Convert ti, system-power-controller DT property to poweroff-source Romain Perier
2014-10-22 15:25 ` PERIER Romain
2014-10-22 15:50   ` Lee Jones
2014-10-23  7:30     ` PERIER Romain
2014-10-23 10:02       ` Lee Jones
2014-10-22 15:26 ` [PATCH v1 2/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 apalis Romain Perier
2014-10-22 15:26 ` [PATCH v1 3/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 beaver Romain Perier
2014-10-22 15:26 ` [PATCH v1 4/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 cardhu Romain Perier
2014-10-22 15:26 ` [PATCH v1 5/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 colibri Romain Perier
2014-10-23  8:12 ` [PATCH v1 1/5] mfd: tps65910: Convert ti, system-power-controller DT property to poweroff-source Peter De Schrijver
2014-10-23  9:39   ` PERIER Romain
2014-10-24  2:11     ` Alexandre Courbot
2014-10-24  8:02     ` Peter De Schrijver
2014-10-24  9:04       ` Romain Perier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).