Ast still has to be converted to managed initialization, and embed the DRM device in the ast structure. In preparation of these changes, add some cleanups to the driver. Tested on ast HW. v2: * remove device tests from ast_pm_freeze() (Daniel) * convert WARN_*() (Sam) * typo fixes Thomas Zimmermann (4): drm/ast: Remove unused code paths for AST 1180 drm/ast: Remove test for device from ast_pm_freeze() drm/ast: Upcast from DRM device to ast structure via to_ast_private() drm/ast: Use per-device logging macros drivers/gpu/drm/ast/ast_dp501.c | 24 +++---- drivers/gpu/drm/ast/ast_drv.c | 4 -- drivers/gpu/drm/ast/ast_drv.h | 7 +- drivers/gpu/drm/ast/ast_main.c | 115 +++++++++++++++----------------- drivers/gpu/drm/ast/ast_mode.c | 73 ++++++++++---------- drivers/gpu/drm/ast/ast_post.c | 28 ++++---- drivers/gpu/drm/ast/ast_ttm.c | 2 +- 7 files changed, 116 insertions(+), 137 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel