Skip to content

Commit e3ac5e8

Browse files
robherringLee Jones
authored andcommitted
Revert "drivers/video/backlight/platform_lcd.c: add support for device tree based probe"
This reverts commit 52e8424. The DT support never would have worked because there's no platform_data providing ops. There's not any documented binding for it either. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8b0bce0 commit e3ac5e8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/video/backlight/platform_lcd.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <linux/fb.h>
1313
#include <linux/backlight.h>
1414
#include <linux/lcd.h>
15-
#include <linux/of.h>
1615
#include <linux/slab.h>
1716

1817
#include <video/platform_lcd.h>
@@ -133,19 +132,10 @@ static int platform_lcd_resume(struct device *dev)
133132
static SIMPLE_DEV_PM_OPS(platform_lcd_pm_ops, platform_lcd_suspend,
134133
platform_lcd_resume);
135134

136-
#ifdef CONFIG_OF
137-
static const struct of_device_id platform_lcd_of_match[] = {
138-
{ .compatible = "platform-lcd" },
139-
{},
140-
};
141-
MODULE_DEVICE_TABLE(of, platform_lcd_of_match);
142-
#endif
143-
144135
static struct platform_driver platform_lcd_driver = {
145136
.driver = {
146137
.name = "platform-lcd",
147138
.pm = &platform_lcd_pm_ops,
148-
.of_match_table = of_match_ptr(platform_lcd_of_match),
149139
},
150140
.probe = platform_lcd_probe,
151141
};

0 commit comments

Comments
 (0)