hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/clk/keystone/gate.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Clock driver for Keystone 2 based devices
34 *
45 * Copyright (C) 2013 Texas Instruments.
56 * Murali Karicheri <m-karicheri2@ti.com>
67 * 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.
128 */
139 #include <linux/clk-provider.h>
1410 #include <linux/err.h>
....@@ -168,7 +164,7 @@
168164 struct clk_psc_data *psc_data,
169165 spinlock_t *lock)
170166 {
171
- struct clk_init_data init = {};
167
+ struct clk_init_data init;
172168 struct clk_psc *psc;
173169 struct clk *clk;
174170
....@@ -245,7 +241,7 @@
245241 return;
246242 }
247243
248
- pr_err("%s: error registering clk %s\n", __func__, node->name);
244
+ pr_err("%s: error registering clk %pOFn\n", __func__, node);
249245
250246 unmap_domain:
251247 iounmap(data->domain_base);
....@@ -266,3 +262,8 @@
266262 }
267263 CLK_OF_DECLARE(keystone_gate_clk, "ti,keystone,psc-clock",
268264 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>");