diff options
author | 2025-03-19 22:36:23 +0100 | |
---|---|---|
committer | 2025-03-19 22:36:24 +0100 | |
commit | b081304b5e0f9f683fce2583f8cc688841fa88a9 (patch) | |
tree | a03a778ab2ef34c7fb0c9d62a9918f1b2a744907 | |
parent | Merge tag 'mtk-soc-for-v6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux into soc/drivers (diff) | |
parent | soc/tegra: pmc: Use str_enable_disable-like helpers (diff) | |
download | wireguard-linux-b081304b5e0f9f683fce2583f8cc688841fa88a9.tar.xz wireguard-linux-b081304b5e0f9f683fce2583f8cc688841fa88a9.zip |
Merge tag 'tegra-for-6.15-soc' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/drivers
soc/tegra: Changes for v6.15-rc1
A simple cleanup patch to use str_yes_no() instead of an open-coded
version.
* tag 'tegra-for-6.15-soc' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
soc/tegra: pmc: Use str_enable_disable-like helpers
Link: https://lore.kernel.org/r/20250307162332.3451523-1-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | drivers/soc/tegra/pmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c index a08c377933c5..51b9d852bb6a 100644 --- a/drivers/soc/tegra/pmc.c +++ b/drivers/soc/tegra/pmc.c @@ -47,6 +47,7 @@ #include <linux/seq_file.h> #include <linux/slab.h> #include <linux/spinlock.h> +#include <linux/string_choices.h> #include <linux/syscore_ops.h> #include <soc/tegra/common.h> @@ -1181,7 +1182,7 @@ static int powergate_show(struct seq_file *s, void *data) continue; seq_printf(s, " %9s %7s\n", pmc->soc->powergates[i], - status ? "yes" : "no"); + str_yes_no(status)); } return 0; |