hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/clk/tegra/clk-bpmp.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2016 NVIDIA Corporation
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85
96 #include <linux/clk-provider.h>
....@@ -162,7 +159,7 @@
162159
163160 err = tegra_bpmp_clk_transfer(clk->bpmp, &msg);
164161 if (err < 0)
165
- return err;
162
+ return 0;
166163
167164 return response.rate;
168165 }
....@@ -471,7 +468,7 @@
471468 unsigned int num_clocks)
472469 {
473470 struct tegra_bpmp_clk *clk;
474
- struct clk_init_data init = {};
471
+ struct clk_init_data init;
475472 const char **parents;
476473 unsigned int i;
477474 int err;