forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/drivers/video/backlight/lms501kf03.c
....@@ -1,19 +1,14 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * lms501kf03 TFT LCD panel driver.
34 *
45 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
56 * Author: Jingoo Han <jg1.han@samsung.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 as published by the
9
- * Free Software Foundation; either version 2 of the License, or (at your
10
- * option) any later version.
117 */
128
139 #include <linux/backlight.h>
1410 #include <linux/delay.h>
1511 #include <linux/fb.h>
16
-#include <linux/gpio.h>
1712 #include <linux/lcd.h>
1813 #include <linux/module.h>
1914 #include <linux/spi/spi.h>
....@@ -91,14 +86,6 @@
9186 0x6a, 0x73, 0x7a, 0x82, 0x8a, 0x91, 0x98, 0xa1, 0xa8, 0xb0,
9287 0xb7, 0xc1, 0xc9, 0xcf, 0xd9, 0xe3, 0xea, 0xf4, 0xff, 0x00,
9388 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
94
-};
95
-
96
-static const unsigned char seq_up_dn[] = {
97
- 0x36, 0x10,
98
-};
99
-
100
-static const unsigned char seq_sleep_in[] = {
101
- 0x10,
10289 };
10390
10491 static const unsigned char seq_sleep_out[] = {