| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * tef6862.c Philips TEF6862 Car Radio Enhanced Selectivity Tuner |
|---|
| 3 | 4 | * Copyright (c) 2009 Intel Corporation |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 7 | | - * published by the Free Software Foundation. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | | - * GNU General Public License for more details. |
|---|
| 13 | 5 | */ |
|---|
| 14 | 6 | |
|---|
| 15 | 7 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 79 | 71 | return -EINVAL; |
|---|
| 80 | 72 | |
|---|
| 81 | 73 | /* only support FM for now */ |
|---|
| 82 | | - strlcpy(v->name, "FM", sizeof(v->name)); |
|---|
| 74 | + strscpy(v->name, "FM", sizeof(v->name)); |
|---|
| 83 | 75 | v->type = V4L2_TUNER_RADIO; |
|---|
| 84 | 76 | v->rangelow = TEF6862_LO_FREQ; |
|---|
| 85 | 77 | v->rangehigh = TEF6862_HI_FREQ; |
|---|