From 80823ca1ba243d145c963212734e359e099051d8 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 9 May 2014 13:25:41 +0300 Subject: 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 --- include/video/omapdss.h | 3 --- 1 file changed, 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); -- cgit v1.2.3