.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * sky81452.c SKY81452 MFD driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2014 Skyworks Solutions Inc. |
---|
5 | 6 | * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify it |
---|
8 | | - * under the terms of the GNU General Public License version 2 |
---|
9 | | - * as published by the Free Software Foundation. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, but |
---|
12 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
14 | | - * General Public License for more details. |
---|
15 | | - * |
---|
16 | | - * You should have received a copy of the GNU General Public License along |
---|
17 | | - * with this program; if not, see <http://www.gnu.org/licenses/>. |
---|
18 | 7 | */ |
---|
19 | 8 | |
---|
20 | 9 | #include <linux/kernel.h> |
---|
.. | .. |
---|
58 | 47 | memset(cells, 0, sizeof(cells)); |
---|
59 | 48 | cells[0].name = "sky81452-backlight"; |
---|
60 | 49 | cells[0].of_compatible = "skyworks,sky81452-backlight"; |
---|
61 | | - cells[0].platform_data = pdata->bl_pdata; |
---|
62 | | - cells[0].pdata_size = sizeof(*pdata->bl_pdata); |
---|
63 | 50 | cells[1].name = "sky81452-regulator"; |
---|
64 | 51 | cells[1].platform_data = pdata->regulator_init_data; |
---|
65 | 52 | cells[1].pdata_size = sizeof(*pdata->regulator_init_data); |
---|