| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2016 Socionext Inc. |
|---|
| 3 | 4 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 7 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 8 | | - * (at your option) any later version. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | | - * GNU General Public License for more details. |
|---|
| 14 | 5 | */ |
|---|
| 15 | 6 | |
|---|
| 16 | 7 | #include <linux/clk-provider.h> |
|---|
| .. | .. |
|---|
| 88 | 79 | const struct uniphier_clk_cpugear_data *data) |
|---|
| 89 | 80 | { |
|---|
| 90 | 81 | struct uniphier_clk_cpugear *gear; |
|---|
| 91 | | - struct clk_init_data init = {}; |
|---|
| 82 | + struct clk_init_data init; |
|---|
| 92 | 83 | int ret; |
|---|
| 93 | 84 | |
|---|
| 94 | 85 | gear = devm_kzalloc(dev, sizeof(*gear), GFP_KERNEL); |
|---|
| .. | .. |
|---|
| 99 | 90 | init.ops = &uniphier_clk_cpugear_ops; |
|---|
| 100 | 91 | init.flags = CLK_SET_RATE_PARENT; |
|---|
| 101 | 92 | init.parent_names = data->parent_names; |
|---|
| 102 | | - init.num_parents = data->num_parents, |
|---|
| 93 | + init.num_parents = data->num_parents; |
|---|
| 103 | 94 | |
|---|
| 104 | 95 | gear->regmap = regmap; |
|---|
| 105 | 96 | gear->regbase = data->regbase; |
|---|