Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d501b129 authored by Laurent Pinchart's avatar Laurent Pinchart
Browse files

drm: omapdrm: Use sizeof(*var) instead of sizeof(type) for structures



By linking the sizeof to a variable type the code will be less prone to
bugs due to future type changes of variables.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 84e1d457
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment