projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246def3
)
OMAPDSS: remove unused macros
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 9 May 2014 10:25:41 +0000
(13:25 +0300)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 9 May 2014 10:25:41 +0000
(13:25 +0300)
Macros to_dss_driver() and to_dss_device() are no longer used, and the
latter doesn't even work. Remove them.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
include/video/omapdss.h
patch
|
blob
|
blame
|
history
diff --git
a/include/video/omapdss.h
b/include/video/omapdss.h
index ded61a9e521944a94faa64a4bb88bd26823f0384..f7b9903ee154493a2f4ccf47767f4deb182752bd 100644
(file)
--- a/
include/video/omapdss.h
+++ b/
include/video/omapdss.h
@@
-964,9
+964,6
@@
int dispc_ovl_setup(enum omap_plane plane, const struct omap_overlay_info *oi,
bool replication, const struct omap_video_timings *mgr_timings,
bool mem_to_mem);
-#define to_dss_driver(x) container_of((x), struct omap_dss_driver, driver)
-#define to_dss_device(x) container_of((x), struct omap_dss_device, old_dev)
-
int omapdss_compat_init(void);
void omapdss_compat_uninit(void);