hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/radio/tef6862.c
....@@ -1,15 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * tef6862.c Philips TEF6862 Car Radio Enhanced Selectivity Tuner
34 * Copyright (c) 2009 Intel Corporation
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 version 2 as
7
- * published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
135 */
146
157 #include <linux/module.h>
....@@ -79,7 +71,7 @@
7971 return -EINVAL;
8072
8173 /* only support FM for now */
82
- strlcpy(v->name, "FM", sizeof(v->name));
74
+ strscpy(v->name, "FM", sizeof(v->name));
8375 v->type = V4L2_TUNER_RADIO;
8476 v->rangelow = TEF6862_LO_FREQ;
8577 v->rangehigh = TEF6862_HI_FREQ;