| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2013 Samsung Electronics Co., Ltd. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Author: Sylwester Nawrocki <s.nawrocki@samsung.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 10 | | - * published by the Free Software Foundation. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | |
|---|
| 13 | 10 | #include <linux/clk.h> |
|---|
| .. | .. |
|---|
| 57 | 54 | i2c_adap = &isp_i2c->adapter; |
|---|
| 58 | 55 | i2c_adap->dev.of_node = node; |
|---|
| 59 | 56 | i2c_adap->dev.parent = &pdev->dev; |
|---|
| 60 | | - strlcpy(i2c_adap->name, "exynos4x12-isp-i2c", sizeof(i2c_adap->name)); |
|---|
| 57 | + strscpy(i2c_adap->name, "exynos4x12-isp-i2c", sizeof(i2c_adap->name)); |
|---|
| 61 | 58 | i2c_adap->owner = THIS_MODULE; |
|---|
| 62 | 59 | i2c_adap->algo = &fimc_is_i2c_algorithm; |
|---|
| 63 | 60 | i2c_adap->class = I2C_CLASS_SPD; |
|---|