[PATCH 0/9 linux-next] drivers/gpu/drm: use container_of where possible

From: Fabian Frederick
Date: Sun Sep 14 2014 - 12:40:42 EST


Small patchset using container_of instead of casting on first structure member address.

Fabian Frederick (9):
drm/cirrus: use container_of to resolve cirrus_fbdev from
drm_fb_helper
drm/mgag200: use container_of to resolve mga_fbdev from drm_fb_helper
drm/radeon: use container_of to resolve radeon_fbdev from
drm_fb_helper
drm/nouveau: use container_of to resolve nouveau_fbdev from
drm_fb_helper
drm/nouveau: use container_of to resolve nouveau_plane from drm_plane
drm/qxl: use container_of to resolve qxl_fbdev from drm_fb_helper
drm/gma500: use container_of to resolve psb_fbdev from drm_fb_helper
drm/ast: use container_of to resolve ast_fbdev from drm_fb_helper
drm/udl: use container_of to resolve udl_fbdev from drm_fb_helper

drivers/gpu/drm/ast/ast_fb.c | 3 ++-
drivers/gpu/drm/cirrus/cirrus_fbdev.c | 3 ++-
drivers/gpu/drm/gma500/framebuffer.c | 3 ++-
drivers/gpu/drm/mgag200/mgag200_fb.c | 3 ++-
drivers/gpu/drm/nouveau/dispnv04/overlay.c | 15 ++++++++++-----
drivers/gpu/drm/nouveau/nouveau_fbcon.c | 3 ++-
drivers/gpu/drm/qxl/qxl_fb.c | 3 ++-
drivers/gpu/drm/radeon/radeon_fb.c | 3 ++-
drivers/gpu/drm/udl/udl_fb.c | 3 ++-
9 files changed, 26 insertions(+), 13 deletions(-)

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/