hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/char/tpm/st33zp24/spi.c
....@@ -1,19 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * STMicroelectronics TPM SPI Linux driver for TPM ST33ZP24
34 * Copyright (C) 2009 - 2016 STMicroelectronics
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
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
175 */
186
197 #include <linux/module.h>
....@@ -341,7 +329,7 @@
341329
342330 /*
343331 * st33zp24_spi_probe initialize the TPM device
344
- * @param: dev, the spi_device drescription (TPM SPI description).
332
+ * @param: dev, the spi_device description (TPM SPI description).
345333 * @return: 0 in case of success.
346334 * or a negative value describing the error.
347335 */
....@@ -390,7 +378,7 @@
390378
391379 /*
392380 * st33zp24_spi_remove remove the TPM device
393
- * @param: client, the spi_device drescription (TPM SPI description).
381
+ * @param: client, the spi_device description (TPM SPI description).
394382 * @return: 0 in case of success.
395383 */
396384 static int st33zp24_spi_remove(struct spi_device *dev)