From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:43:03 +0000
Subject: [PATCH] add ax88772C AX88772C_eeprom_tools

---
 kernel/drivers/clk/tegra/clk-bpmp.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/kernel/drivers/clk/tegra/clk-bpmp.c b/kernel/drivers/clk/tegra/clk-bpmp.c
index 5847241..0084504 100644
--- a/kernel/drivers/clk/tegra/clk-bpmp.c
+++ b/kernel/drivers/clk/tegra/clk-bpmp.c
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 NVIDIA Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <linux/clk-provider.h>
@@ -162,7 +159,7 @@
 
 	err = tegra_bpmp_clk_transfer(clk->bpmp, &msg);
 	if (err < 0)
-		return err;
+		return 0;
 
 	return response.rate;
 }
@@ -471,7 +468,7 @@
 			unsigned int num_clocks)
 {
 	struct tegra_bpmp_clk *clk;
-	struct clk_init_data init = {};
+	struct clk_init_data init;
 	const char **parents;
 	unsigned int i;
 	int err;

--
Gitblit v1.6.2