.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Clock driver for Keystone 2 based devices |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2013 Texas Instruments. |
---|
5 | 6 | * Murali Karicheri <m-karicheri2@ti.com> |
---|
6 | 7 | * Santosh Shilimkar <santosh.shilimkar@ti.com> |
---|
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; either version 2 of the License, or |
---|
11 | | - * (at your option) any later version. |
---|
12 | 8 | */ |
---|
13 | 9 | #include <linux/clk-provider.h> |
---|
14 | 10 | #include <linux/err.h> |
---|
.. | .. |
---|
168 | 164 | struct clk_psc_data *psc_data, |
---|
169 | 165 | spinlock_t *lock) |
---|
170 | 166 | { |
---|
171 | | - struct clk_init_data init = {}; |
---|
| 167 | + struct clk_init_data init; |
---|
172 | 168 | struct clk_psc *psc; |
---|
173 | 169 | struct clk *clk; |
---|
174 | 170 | |
---|
.. | .. |
---|
245 | 241 | return; |
---|
246 | 242 | } |
---|
247 | 243 | |
---|
248 | | - pr_err("%s: error registering clk %s\n", __func__, node->name); |
---|
| 244 | + pr_err("%s: error registering clk %pOFn\n", __func__, node); |
---|
249 | 245 | |
---|
250 | 246 | unmap_domain: |
---|
251 | 247 | iounmap(data->domain_base); |
---|
.. | .. |
---|
266 | 262 | } |
---|
267 | 263 | CLK_OF_DECLARE(keystone_gate_clk, "ti,keystone,psc-clock", |
---|
268 | 264 | of_keystone_psc_clk_init); |
---|
| 265 | + |
---|
| 266 | +MODULE_LICENSE("GPL"); |
---|
| 267 | +MODULE_DESCRIPTION("Clock driver for Keystone 2 based devices"); |
---|
| 268 | +MODULE_AUTHOR("Murali Karicheri <m-karicheri2@ti.com>"); |
---|
| 269 | +MODULE_AUTHOR("Santosh Shilimkar <santosh.shilimkar@ti.com>"); |
---|