From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: barebox@lists.infradead.org
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: [PATCH] mfd: rk808: Use standard system-power-controller property
Date: Mon, 24 Jun 2024 20:50:09 +0300 [thread overview]
Message-ID: <20240624175009.826551-1-eagle.alexander923@gmail.com> (raw)
The old property "rockchip,system-power-controller" marked as deprecated.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
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
next reply other threads:[~2024-06-24 17:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-24 17:50 Alexander Shiyan [this message]
2024-06-24 17:52 ` Ahmad Fatoum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240624175009.826551-1-eagle.alexander923@gmail.com \
--to=eagle.alexander923@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox