[PATCH] mfd: rk808: Use standard system-power-controller property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The old property "rockchip,system-power-controller" marked as deprecated.

Signed-off-by: Alexander Shiyan <eagle.alexander923@xxxxxxxxx>
---
 drivers/mfd/rk808.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index adb9d8ca0a..8f766a3fa2 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -366,7 +366,7 @@ static int rk808_probe(struct device *dev)
 	rk808->poweroff.poweroff = rk808_poweroff;
 	rk808->poweroff.priority = 200;
 
-	if (of_property_read_bool(np, "rockchip,system-power-controller"))
+	if (of_property_read_bool(np, "system-power-controller"))
 		rk808->poweroff.priority += 100;
 
 	poweroff_handler_register(&rk808->poweroff);
-- 
2.38.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux