On 15/04/2020 10:39, Daniel Vetter wrote:
Upcasting using a container_of macro is more typesafe, faster and
easier for the compiler to optimize.

Tested-by: Jyri Sarha <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Jyri Sarha <[email protected]>
Cc: Tomi Valkeinen <[email protected]>
---
  drivers/gpu/drm/tidss/tidss_crtc.c  | 16 ++++++++--------
  drivers/gpu/drm/tidss/tidss_drv.c   |  2 --
  drivers/gpu/drm/tidss/tidss_drv.h   |  2 ++
  drivers/gpu/drm/tidss/tidss_irq.c   | 12 ++++++------
  drivers/gpu/drm/tidss/tidss_kms.c   |  2 +-
  drivers/gpu/drm/tidss/tidss_plane.c |  6 +++---
  6 files changed, 20 insertions(+), 20 deletions(-)

Reviewed-by: Tomi Valkeinen <[email protected]>

 Tomi

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to