| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * r8a7778 Core CPG Clocks |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2014 Ulrich Hecht |
|---|
| 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 as published by |
|---|
| 8 | | - * the Free Software Foundation; version 2 of the License. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #include <linux/clk-provider.h> |
|---|
| .. | .. |
|---|
| 130 | 127 | |
|---|
| 131 | 128 | clk = r8a7778_cpg_register_clock(np, cpg, name); |
|---|
| 132 | 129 | if (IS_ERR(clk)) |
|---|
| 133 | | - pr_err("%s: failed to register %s %s clock (%ld)\n", |
|---|
| 134 | | - __func__, np->name, name, PTR_ERR(clk)); |
|---|
| 130 | + pr_err("%s: failed to register %pOFn %s clock (%ld)\n", |
|---|
| 131 | + __func__, np, name, PTR_ERR(clk)); |
|---|
| 135 | 132 | else |
|---|
| 136 | 133 | cpg->data.clks[i] = clk; |
|---|
| 137 | 134 | } |
|---|