hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/media/i2c/saa7127.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * saa7127 - Philips SAA7127/SAA7129 video encoder driver
34 *
....@@ -31,16 +32,6 @@
3132 * macrovision anti-taping support. This driver will almost certainly
3233 * work fine for those chips, except of course for the missing anti-taping
3334 * support.
34
- *
35
- * This program is free software; you can redistribute it and/or modify
36
- * it under the terms of the GNU General Public License as published by
37
- * the Free Software Foundation; either version 2 of the License, or
38
- * (at your option) any later version.
39
- *
40
- * This program is distributed in the hope that it will be useful,
41
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
42
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43
- * GNU General Public License for more details.
4435 */
4536
4637
....@@ -761,10 +752,10 @@
761752 saa7127_write(sd, SAA7129_REG_FADE_KEY_COL2,
762753 read_result);
763754 state->ident = SAA7129;
764
- strlcpy(client->name, "saa7129", I2C_NAME_SIZE);
755
+ strscpy(client->name, "saa7129", I2C_NAME_SIZE);
765756 } else {
766757 state->ident = SAA7127;
767
- strlcpy(client->name, "saa7127", I2C_NAME_SIZE);
758
+ strscpy(client->name, "saa7127", I2C_NAME_SIZE);
768759 }
769760 }
770761