forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/power/reset/axxia-reset.c
....@@ -1,17 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Reset driver for Axxia devices
34 *
45 * Copyright (C) 2014 LSI
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 and
8
- * only version 2 as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
156 */
167 #include <linux/init.h>
178 #include <linux/err.h>
....@@ -65,7 +56,7 @@
6556
6657 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon");
6758 if (IS_ERR(syscon)) {
68
- pr_err("%s: syscon lookup failed\n", dev->of_node->name);
59
+ pr_err("%pOFn: syscon lookup failed\n", dev->of_node);
6960 return PTR_ERR(syscon);
7061 }
7162