hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/clk/keystone/pll.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * PLL clock driver for Keystone devices
34 *
45 * Copyright (C) 2013 Texas Instruments Inc.
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>
....@@ -126,7 +122,7 @@
126122 const char *parent_name,
127123 struct clk_pll_data *pll_data)
128124 {
129
- struct clk_init_data init = {};
125
+ struct clk_init_data init;
130126 struct clk_pll *pll;
131127 struct clk *clk;
132128
....@@ -219,7 +215,7 @@
219215 }
220216
221217 out:
222
- pr_err("%s: error initializing pll %s\n", __func__, node->name);
218
+ pr_err("%s: error initializing pll %pOFn\n", __func__, node);
223219 kfree(pll_data);
224220 }
225221
....@@ -338,3 +334,8 @@
338334 pr_err("%s: error registering mux %s\n", __func__, clk_name);
339335 }
340336 CLK_OF_DECLARE(pll_mux_clock, "ti,keystone,pll-mux-clock", of_pll_mux_clk_init);
337
+
338
+MODULE_LICENSE("GPL");
339
+MODULE_DESCRIPTION("PLL clock driver for Keystone devices");
340
+MODULE_AUTHOR("Murali Karicheri <m-karicheri2@ti.com>");
341
+MODULE_AUTHOR("Santosh Shilimkar <santosh.shilimkar@ti.com>");