| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * r8a7779 Core CPG Clocks |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2013, 2014 Horms Solutions Ltd. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Contact: Simon Horman <horms@verge.net.au> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 10 | | - * the Free Software Foundation; version 2 of the License. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | |
|---|
| 13 | 10 | #include <linux/clk-provider.h> |
|---|
| .. | .. |
|---|
| 164 | 161 | clk = r8a7779_cpg_register_clock(np, cpg, config, |
|---|
| 165 | 162 | plla_mult, name); |
|---|
| 166 | 163 | if (IS_ERR(clk)) |
|---|
| 167 | | - pr_err("%s: failed to register %s %s clock (%ld)\n", |
|---|
| 168 | | - __func__, np->name, name, PTR_ERR(clk)); |
|---|
| 164 | + pr_err("%s: failed to register %pOFn %s clock (%ld)\n", |
|---|
| 165 | + __func__, np, name, PTR_ERR(clk)); |
|---|
| 169 | 166 | else |
|---|
| 170 | 167 | cpg->data.clks[i] = clk; |
|---|
| 171 | 168 | } |
|---|