drm/dsi: Replace upcasting macro by function
authorThierry Reding <treding@nvidia.com>
Tue, 5 Aug 2014 07:01:32 +0000 (09:01 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 6 Aug 2014 14:44:16 +0000 (16:44 +0200)
commit77df01dcd3040a7d664d85d085d4a21533824bc1
tree0564a409ad2195898b8e89d1aa02d9bf71f09727
parentdff2ed275454b5a69b785949be73e2dcbb686e3f
drm/dsi: Replace upcasting macro by function

Using a function instead of a macro provides proper type checking.

Signed-off-by: Thierry Reding <treding@nvidia.com>
include/drm/drm_mipi_dsi.h