hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/mfd/sky81452.c
....@@ -1,20 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * sky81452.c SKY81452 MFD driver
34 *
45 * Copyright 2014 Skyworks Solutions Inc.
56 * 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/>.
187 */
198
209 #include <linux/kernel.h>
....@@ -58,8 +47,6 @@
5847 memset(cells, 0, sizeof(cells));
5948 cells[0].name = "sky81452-backlight";
6049 cells[0].of_compatible = "skyworks,sky81452-backlight";
61
- cells[0].platform_data = pdata->bl_pdata;
62
- cells[0].pdata_size = sizeof(*pdata->bl_pdata);
6350 cells[1].name = "sky81452-regulator";
6451 cells[1].platform_data = pdata->regulator_init_data;
6552 cells[1].pdata_size = sizeof(*pdata->regulator_init_data);