From 072de836f53be56a70cecf70b43ae43b7ce17376 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 10:08:36 +0000
Subject: [PATCH] mk-rootfs.sh
---
kernel/drivers/firmware/scpi_pm_domain.c | 19 ++++---------------
1 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/kernel/drivers/firmware/scpi_pm_domain.c b/kernel/drivers/firmware/scpi_pm_domain.c
index a6e62a7..8006739 100644
--- a/kernel/drivers/firmware/scpi_pm_domain.c
+++ b/kernel/drivers/firmware/scpi_pm_domain.c
@@ -1,19 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* SCPI Generic power domain support.
*
* Copyright (C) 2016 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <linux/err.h>
@@ -121,10 +110,10 @@
scpi_pd->domain = i;
scpi_pd->ops = scpi_ops;
scpi_pd->genpd.name = devm_kasprintf(dev, GFP_KERNEL,
- "%s.%d", np->name, i);
+ "%pOFn.%d", np, i);
if (!scpi_pd->genpd.name) {
- dev_err(dev, "Failed to allocate genpd name:%s.%d\n",
- np->name, i);
+ dev_err(dev, "Failed to allocate genpd name:%pOFn.%d\n",
+ np, i);
continue;
}
scpi_pd->genpd.power_off = scpi_pd_power_off;
--
Gitblit v1.6.2