hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/dvb-frontends/s5h1420.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Driver for
34 * Samsung S5H1420 and
....@@ -5,17 +6,6 @@
56 *
67 * Copyright (C) 2005 Andrew de Quincey <adq_dvb@lidskialf.net>
78 * Copyright (C) 2005-8 Patrick Boettcher <pb@linuxtv.org>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- *
18
- * GNU General Public License for more details.
199 */
2010
2111 #include <linux/kernel.h>
....@@ -912,7 +902,7 @@
912902 state->frontend.demodulator_priv = state;
913903
914904 /* create tuner i2c adapter */
915
- strlcpy(state->tuner_i2c_adapter.name, "S5H1420-PN1010 tuner I2C bus",
905
+ strscpy(state->tuner_i2c_adapter.name, "S5H1420-PN1010 tuner I2C bus",
916906 sizeof(state->tuner_i2c_adapter.name));
917907 state->tuner_i2c_adapter.algo = &s5h1420_tuner_i2c_algo;
918908 state->tuner_i2c_adapter.algo_data = NULL;