| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Driver for the Auvitek AU0828 USB bridge |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2008 Steven Toth <stoth@linuxtv.org> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 | | - * (at your option) any later version. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * |
|---|
| 15 | | - * GNU General Public License for more details. |
|---|
| 16 | 6 | */ |
|---|
| 17 | 7 | |
|---|
| 18 | 8 | #include "au0828.h" |
|---|
| .. | .. |
|---|
| 378 | 368 | |
|---|
| 379 | 369 | dev->i2c_adap.dev.parent = &dev->usbdev->dev; |
|---|
| 380 | 370 | |
|---|
| 381 | | - strlcpy(dev->i2c_adap.name, KBUILD_MODNAME, |
|---|
| 371 | + strscpy(dev->i2c_adap.name, KBUILD_MODNAME, |
|---|
| 382 | 372 | sizeof(dev->i2c_adap.name)); |
|---|
| 383 | 373 | |
|---|
| 384 | 374 | dev->i2c_adap.algo = &dev->i2c_algo; |
|---|