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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux