summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-05-09 13:25:41 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-05-09 13:25:41 +0300
commit80823ca1ba243d145c963212734e359e099051d8 (patch)
tree76c0a12ba5c012becc137a6ffb16410da9c3b90a
parent246def36e21dec8b9a9368883a9dd4e0a8240749 (diff)
OMAPDSS: remove unused macros
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>
-rw-r--r--include/video/omapdss.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index ded61a9e5219..f7b9903ee154 100644
--- 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);