hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/misc/genwqe/card_sysfs.c
....@@ -1,4 +1,5 @@
1
-/**
1
+// SPDX-License-Identifier: GPL-2.0-only
2
+/*
23 * IBM Accelerator Family 'GenWQE'
34 *
45 * (C) Copyright IBM Corp. 2013
....@@ -7,15 +8,6 @@
78 * Author: Joerg-Stephan Vogt <jsvogt@de.ibm.com>
89 * Author: Michael Jung <mijung@gmx.net>
910 * Author: Michael Ruettger <michael@ibmra.de>
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License (version 2 only)
13
- * as published by the Free Software Foundation.
14
- *
15
- * This program is distributed in the hope that it will be useful,
16
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
- * GNU General Public License for more details.
1911 */
2012
2113 /*
....@@ -137,7 +129,7 @@
137129 }
138130 static DEVICE_ATTR_RO(base_clock);
139131
140
-/**
132
+/*
141133 * curr_bitstream_show() - Show the current bitstream id
142134 *
143135 * There is a bug in some old versions of the CPLD which selects the
....@@ -164,7 +156,7 @@
164156 }
165157 static DEVICE_ATTR_RO(curr_bitstream);
166158
167
-/**
159
+/*
168160 * next_bitstream_show() - Show the next activated bitstream
169161 *
170162 * IO_SLC_CFGREG_SOFTRESET: This register can only be accessed by the PF.
....@@ -268,7 +260,7 @@
268260 NULL,
269261 };
270262
271
-/**
263
+/*
272264 * genwqe_is_visible() - Determine if sysfs attribute should be visible or not
273265 *
274266 * VFs have restricted mmio capabilities, so not all sysfs entries