hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/clk/socfpga/clk-gate-a10.c
....@@ -1,17 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2015 Altera Corporation. All rights reserved
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * You should have received a copy of the GNU General Public License along with
14
- * this program. If not, see <http://www.gnu.org/licenses/>.
154 */
165 #include <linux/slab.h>
176 #include <linux/clk-provider.h>
....@@ -113,7 +102,7 @@
113102 struct socfpga_gate_clk *socfpga_clk;
114103 const char *clk_name = node->name;
115104 const char *parent_name[SOCFPGA_MAX_PARENTS];
116
- struct clk_init_data init = {};
105
+ struct clk_init_data init;
117106 int rc;
118107
119108 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL);