.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Mirics MSi001 silicon tuner driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2013 Antti Palosaari <crope@iki.fi> |
---|
5 | 6 | * Copyright (C) 2014 Antti Palosaari <crope@iki.fi> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the GNU General Public License as published by |
---|
9 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
10 | | - * (at your option) any later version. |
---|
11 | | - * |
---|
12 | | - * This program is distributed in the hope that it will be useful, |
---|
13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | | - * GNU General Public License for more details. |
---|
16 | 7 | */ |
---|
17 | 8 | |
---|
18 | 9 | #include <linux/module.h> |
---|
.. | .. |
---|
305 | 296 | |
---|
306 | 297 | dev_dbg(&spi->dev, "index=%d\n", v->index); |
---|
307 | 298 | |
---|
308 | | - strlcpy(v->name, "Mirics MSi001", sizeof(v->name)); |
---|
| 299 | + strscpy(v->name, "Mirics MSi001", sizeof(v->name)); |
---|
309 | 300 | v->type = V4L2_TUNER_RF; |
---|
310 | 301 | v->capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS; |
---|
311 | 302 | v->rangelow = 49000000; |
---|