hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/media/tuners/msi001.c
....@@ -1,18 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Mirics MSi001 silicon tuner driver
34 *
45 * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
56 * 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.
167 */
178
189 #include <linux/module.h>
....@@ -305,7 +296,7 @@
305296
306297 dev_dbg(&spi->dev, "index=%d\n", v->index);
307298
308
- strlcpy(v->name, "Mirics MSi001", sizeof(v->name));
299
+ strscpy(v->name, "Mirics MSi001", sizeof(v->name));
309300 v->type = V4L2_TUNER_RF;
310301 v->capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS;
311302 v->rangelow = 49000000;