projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/panel: Initialise panel dev and funcs through drm_panel_init()
[linux-2.6-block.git]
/
drivers
/
gpu
/
drm
/
panel
/
panel-rocktech-jh057n00900.c
diff --git
a/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c
b/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c
index b9109922397ff6e2a9fdf479f4600ff3696be1cf..d7f56374f2f1728c077928cb0d48f5bcb3663891 100644
(file)
--- a/
drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c
+++ b/
drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c
@@
-343,9
+343,7
@@
static int jh057n_probe(struct mipi_dsi_device *dsi)
return ret;
}
- drm_panel_init(&ctx->panel);
- ctx->panel.dev = dev;
- ctx->panel.funcs = &jh057n_drm_funcs;
+ drm_panel_init(&ctx->panel, dev, &jh057n_drm_funcs);
drm_panel_add(&ctx->panel);