| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * r8a7740 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> |
|---|
| 12 | 9 | #include <linux/clk/renesas.h> |
|---|
| 13 | 10 | #include <linux/init.h> |
|---|
| 11 | +#include <linux/io.h> |
|---|
| 14 | 12 | #include <linux/kernel.h> |
|---|
| 15 | 13 | #include <linux/slab.h> |
|---|
| 16 | 14 | #include <linux/of.h> |
|---|
| .. | .. |
|---|
| 187 | 185 | |
|---|
| 188 | 186 | clk = r8a7740_cpg_register_clock(np, cpg, name); |
|---|
| 189 | 187 | if (IS_ERR(clk)) |
|---|
| 190 | | - pr_err("%s: failed to register %s %s clock (%ld)\n", |
|---|
| 191 | | - __func__, np->name, name, PTR_ERR(clk)); |
|---|
| 188 | + pr_err("%s: failed to register %pOFn %s clock (%ld)\n", |
|---|
| 189 | + __func__, np, name, PTR_ERR(clk)); |
|---|
| 192 | 190 | else |
|---|
| 193 | 191 | cpg->data.clks[i] = clk; |
|---|
| 194 | 192 | } |
|---|