forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/char/tpm/st33zp24/i2c.c
....@@ -1,19 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * STMicroelectronics TPM I2C 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>
....@@ -222,7 +210,7 @@
222210
223211 /*
224212 * st33zp24_i2c_probe initialize the TPM device
225
- * @param: client, the i2c_client drescription (TPM I2C description).
213
+ * @param: client, the i2c_client description (TPM I2C description).
226214 * @param: id, the i2c_device_id struct.
227215 * @return: 0 in case of success.
228216 * -1 in other case.