hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/soc/mediatek/mtk-infracfg.c
....@@ -1,14 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2015 Pengutronix, Sascha Hauer <kernel@pengutronix.de>
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.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 */
135
146 #include <linux/export.h>
....@@ -27,7 +19,7 @@
2719
2820 /**
2921 * mtk_infracfg_set_bus_protection - enable bus protection
30
- * @regmap: The infracfg regmap
22
+ * @infracfg: The infracfg regmap
3123 * @mask: The mask containing the protection bits to be enabled.
3224 * @reg_update: The boolean flag determines to set the protection bits
3325 * by regmap_update_bits with enable register(PROTECTEN) or
....@@ -58,7 +50,7 @@
5850
5951 /**
6052 * mtk_infracfg_clear_bus_protection - disable bus protection
61
- * @regmap: The infracfg regmap
53
+ * @infracfg: The infracfg regmap
6254 * @mask: The mask containing the protection bits to be disabled.
6355 * @reg_update: The boolean flag determines to clear the protection bits
6456 * by regmap_update_bits with enable register(PROTECTEN) or