drm/gma500: Replace references to dev_private with helper function
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Sep 2021 14:10:47 +0000 (16:10 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 23 Sep 2021 07:40:20 +0000 (09:40 +0200)
commitf71635e893c3832790484f2e22b8d5825cc6ce1c
treedb0aca3ce4ec3115136e667910d9290b661b0900
parentc6dc899e4c1c360d0780301901980c924ce98748
drm/gma500: Replace references to dev_private with helper function

Replace most references to struct drm_device.dev_private with the new
helper function to_drm_psb_private(). The only references left are in
assignments and the helper itself.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210920141051.30988-2-tzimmermann@suse.de
28 files changed:
drivers/gpu/drm/gma500/backlight.c
drivers/gpu/drm/gma500/cdv_device.c
drivers/gpu/drm/gma500/cdv_intel_display.c
drivers/gpu/drm/gma500/cdv_intel_dp.c
drivers/gpu/drm/gma500/cdv_intel_lvds.c
drivers/gpu/drm/gma500/framebuffer.c
drivers/gpu/drm/gma500/gem.c
drivers/gpu/drm/gma500/gma_device.c
drivers/gpu/drm/gma500/gma_display.c
drivers/gpu/drm/gma500/gtt.c
drivers/gpu/drm/gma500/intel_bios.c
drivers/gpu/drm/gma500/intel_gmbus.c
drivers/gpu/drm/gma500/mid_bios.c
drivers/gpu/drm/gma500/mmu.c
drivers/gpu/drm/gma500/oaktrail_crtc.c
drivers/gpu/drm/gma500/oaktrail_device.c
drivers/gpu/drm/gma500/oaktrail_hdmi.c
drivers/gpu/drm/gma500/oaktrail_lvds.c
drivers/gpu/drm/gma500/oaktrail_lvds_i2c.c
drivers/gpu/drm/gma500/opregion.c
drivers/gpu/drm/gma500/power.c
drivers/gpu/drm/gma500/psb_device.c
drivers/gpu/drm/gma500/psb_drv.c
drivers/gpu/drm/gma500/psb_drv.h
drivers/gpu/drm/gma500/psb_intel_display.c
drivers/gpu/drm/gma500/psb_intel_lvds.c
drivers/gpu/drm/gma500/psb_intel_sdvo.c
drivers/gpu/drm/gma500/psb_irq.c