hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/i2c/cs53l32a.c
....@@ -1,18 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * cs53l32a (Adaptec AVC-2010 and AVC-2410) i2c ivtv driver.
34 * Copyright (C) 2005 Martin Vaughan
45 *
56 * Audio source switching for Adaptec AVC-2410 added by Trev Jackson
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
....@@ -149,7 +140,7 @@
149140 return -EIO;
150141
151142 if (!id)
152
- strlcpy(client->name, "cs53l32a", sizeof(client->name));
143
+ strscpy(client->name, "cs53l32a", sizeof(client->name));
153144
154145 v4l_info(client, "chip found @ 0x%x (%s)\n",
155146 client->addr << 1, client->adapter->name);