[PATCH 4/4] drm/panel: s6e8aa0: Use static inline for upcasting

2014-07-22 Thread Andrzej Hajda
On 07/22/2014 09:12 AM, Thierry Reding wrote: > From: Thierry Reding > > Use a static inline function for upcasting a struct drm_panel to the > driver-specific structure. The advantage over using a macro is that it > gives us additional type checking. > > Signed-off-by: Thierry Reding Acked-by: A

[PATCH 4/4] drm/panel: s6e8aa0: Use static inline for upcasting

2014-07-22 Thread Thierry Reding
From: Thierry Reding Use a static inline function for upcasting a struct drm_panel to the driver-specific structure. The advantage over using a macro is that it gives us additional type checking. Signed-off-by: Thierry Reding --- drivers/gpu/drm/panel/panel-s6e8aa0.c | 5 - 1 file changed,