projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OMAPDSS: Remove passive matrix LCD support (part 2)
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
video
/
omap2
/
displays
/
panel-n8x0.c
diff --git
a/drivers/video/omap2/displays/panel-n8x0.c
b/drivers/video/omap2/displays/panel-n8x0.c
index dc9408dc93d1ed36f702187aebab9e5d7605b84b..e6c115373c0088cce331cb9bcf74aae22ec10830 100644
(file)
--- a/
drivers/video/omap2/displays/panel-n8x0.c
+++ b/
drivers/video/omap2/displays/panel-n8x0.c
@@
-473,7
+473,6
@@
static int n8x0_panel_probe(struct omap_dss_device *dssdev)
mutex_init(&ddata->lock);
mutex_init(&ddata->lock);
- dssdev->panel.config = OMAP_DSS_LCD_TFT;
dssdev->panel.timings.x_res = 800;
dssdev->panel.timings.y_res = 480;
dssdev->ctrl.pixel_size = 16;
dssdev->panel.timings.x_res = 800;
dssdev->panel.timings.y_res = 480;
dssdev->ctrl.pixel_size = 16;
@@
-610,12
+609,6
@@
static int n8x0_panel_resume(struct omap_dss_device *dssdev)
return 0;
}
return 0;
}
-static void n8x0_panel_get_timings(struct omap_dss_device *dssdev,
- struct omap_video_timings *timings)
-{
- *timings = dssdev->panel.timings;
-}
-
static void n8x0_panel_get_resolution(struct omap_dss_device *dssdev,
u16 *xres, u16 *yres)
{
static void n8x0_panel_get_resolution(struct omap_dss_device *dssdev,
u16 *xres, u16 *yres)
{
@@
-678,8
+671,6
@@
static struct omap_dss_driver n8x0_panel_driver = {
.get_resolution = n8x0_panel_get_resolution,
.get_recommended_bpp = omapdss_default_get_recommended_bpp,
.get_resolution = n8x0_panel_get_resolution,
.get_recommended_bpp = omapdss_default_get_recommended_bpp,
- .get_timings = n8x0_panel_get_timings,
-
.driver = {
.name = "n8x0_panel",
.owner = THIS_MODULE,
.driver = {
.name = "n8x0_panel",
.owner = THIS_MODULE,