diff options
Diffstat (limited to 'drivers/tty/serial/ifx6x60.c')
-rw-r--r-- | drivers/tty/serial/ifx6x60.c | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/drivers/tty/serial/ifx6x60.c b/drivers/tty/serial/ifx6x60.c index f190a84a0246..473f4f81d690 100644 --- a/drivers/tty/serial/ifx6x60.c +++ b/drivers/tty/serial/ifx6x60.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /**************************************************************************** | 2 | /**************************************************************************** |
2 | * | 3 | * |
3 | * Driver for the IFX 6x60 spi modem. | 4 | * Driver for the IFX 6x60 spi modem. |
@@ -10,20 +11,6 @@ | |||
10 | * Copyright (C) 2009, 2010 Intel Corp | 11 | * Copyright (C) 2009, 2010 Intel Corp |
11 | * Russ Gorby <russ.gorby@intel.com> | 12 | * Russ Gorby <russ.gorby@intel.com> |
12 | * | 13 | * |
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License version 2 as | ||
15 | * published by the Free Software Foundation. | ||
16 | * | ||
17 | * This program is distributed in the hope that it will be useful, | ||
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
20 | * GNU General Public License for more details. | ||
21 | * | ||
22 | * You should have received a copy of the GNU General Public License | ||
23 | * along with this program; if not, write to the Free Software | ||
24 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
25 | * USA | ||
26 | * | ||
27 | * Driver modified by Intel from Option gtm501l_spi.c | 14 | * Driver modified by Intel from Option gtm501l_spi.c |
28 | * | 15 | * |
29 | * Notes | 16 | * Notes |
@@ -1029,9 +1016,8 @@ static int ifx_spi_spi_probe(struct spi_device *spi) | |||
1029 | spin_lock_init(&ifx_dev->write_lock); | 1016 | spin_lock_init(&ifx_dev->write_lock); |
1030 | spin_lock_init(&ifx_dev->power_lock); | 1017 | spin_lock_init(&ifx_dev->power_lock); |
1031 | ifx_dev->power_status = 0; | 1018 | ifx_dev->power_status = 0; |
1032 | init_timer(&ifx_dev->spi_timer); | 1019 | setup_timer(&ifx_dev->spi_timer, ifx_spi_timeout, |
1033 | ifx_dev->spi_timer.function = ifx_spi_timeout; | 1020 | (unsigned long)ifx_dev); |
1034 | ifx_dev->spi_timer.data = (unsigned long)ifx_dev; | ||
1035 | ifx_dev->modem = pl_data->modem_type; | 1021 | ifx_dev->modem = pl_data->modem_type; |
1036 | ifx_dev->use_dma = pl_data->use_dma; | 1022 | ifx_dev->use_dma = pl_data->use_dma; |
1037 | ifx_dev->max_hz = pl_data->max_hz; | 1023 | ifx_dev->max_hz = pl_data->max_hz; |