| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Reset driver for Axxia devices |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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 | | - * |
|---|
| 15 | 6 | */ |
|---|
| 16 | 7 | #include <linux/init.h> |
|---|
| 17 | 8 | #include <linux/err.h> |
|---|
| .. | .. |
|---|
| 65 | 56 | |
|---|
| 66 | 57 | syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); |
|---|
| 67 | 58 | 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); |
|---|
| 69 | 60 | return PTR_ERR(syscon); |
|---|
| 70 | 61 | } |
|---|
| 71 | 62 | |
|---|