| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 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/>. |
|---|
| 15 | 4 | */ |
|---|
| 16 | 5 | #include <linux/slab.h> |
|---|
| 17 | 6 | #include <linux/clk-provider.h> |
|---|
| .. | .. |
|---|
| 113 | 102 | struct socfpga_gate_clk *socfpga_clk; |
|---|
| 114 | 103 | const char *clk_name = node->name; |
|---|
| 115 | 104 | const char *parent_name[SOCFPGA_MAX_PARENTS]; |
|---|
| 116 | | - struct clk_init_data init = {}; |
|---|
| 105 | + struct clk_init_data init; |
|---|
| 117 | 106 | int rc; |
|---|
| 118 | 107 | |
|---|
| 119 | 108 | socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); |
|---|