hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/media/platform/omap3isp/ispccp2.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ispccp2.c
34 *
....@@ -8,10 +9,6 @@
89 *
910 * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
1011 * Sakari Ailus <sakari.ailus@iki.fi>
11
- *
12
- * This program is free software; you can redistribute it and/or modify
13
- * it under the terms of the GNU General Public License version 2 as
14
- * published by the Free Software Foundation.
1512 */
1613
1714 #include <linux/delay.h>
....@@ -1071,7 +1068,7 @@
10711068
10721069 v4l2_subdev_init(sd, &ccp2_sd_ops);
10731070 sd->internal_ops = &ccp2_sd_internal_ops;
1074
- strlcpy(sd->name, "OMAP3 ISP CCP2", sizeof(sd->name));
1071
+ strscpy(sd->name, "OMAP3 ISP CCP2", sizeof(sd->name));
10751072 sd->grp_id = 1 << 16; /* group ID for isp subdevs */
10761073 v4l2_set_subdevdata(sd, ccp2);
10771074 sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;