drm/sti: Remove pointless casts
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Jul 2019 16:20:37 +0000 (19:20 +0300)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Tue, 9 Jul 2019 07:44:25 +0000 (09:44 +0200)
commit6234ba980f89b396221f77788a9bb36e79900391
tree318fa2b52cdca309426cbe134af69122a4a755a1
parent8090858c87ea6e863548cbbafe26b49793bf11a1
drm/sti: Remove pointless casts

There's no point in the cast for accessing the base class. Just
take the address of the struct instead.

Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190708162048.4286-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/sti/sti_tvout.c