.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * ispresizer.c |
---|
3 | 4 | * |
---|
.. | .. |
---|
8 | 9 | * |
---|
9 | 10 | * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
---|
10 | 11 | * 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. |
---|
15 | 12 | */ |
---|
16 | 13 | |
---|
17 | 14 | #include <linux/device.h> |
---|
.. | .. |
---|
1724 | 1721 | |
---|
1725 | 1722 | v4l2_subdev_init(sd, &resizer_v4l2_ops); |
---|
1726 | 1723 | sd->internal_ops = &resizer_v4l2_internal_ops; |
---|
1727 | | - strlcpy(sd->name, "OMAP3 ISP resizer", sizeof(sd->name)); |
---|
| 1724 | + strscpy(sd->name, "OMAP3 ISP resizer", sizeof(sd->name)); |
---|
1728 | 1725 | sd->grp_id = 1 << 16; /* group ID for isp subdevs */ |
---|
1729 | 1726 | v4l2_set_subdevdata(sd, res); |
---|
1730 | 1727 | sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; |
---|