| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * STMicroelectronics TPM SPI Linux driver for TPM ST33ZP24 |
|---|
| 3 | 4 | * 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/>. |
|---|
| 17 | 5 | */ |
|---|
| 18 | 6 | |
|---|
| 19 | 7 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 341 | 329 | |
|---|
| 342 | 330 | /* |
|---|
| 343 | 331 | * 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). |
|---|
| 345 | 333 | * @return: 0 in case of success. |
|---|
| 346 | 334 | * or a negative value describing the error. |
|---|
| 347 | 335 | */ |
|---|
| .. | .. |
|---|
| 390 | 378 | |
|---|
| 391 | 379 | /* |
|---|
| 392 | 380 | * 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). |
|---|
| 394 | 382 | * @return: 0 in case of success. |
|---|
| 395 | 383 | */ |
|---|
| 396 | 384 | static int st33zp24_spi_remove(struct spi_device *dev) |
|---|