OSDN Git Service

drm/ast: Rework definition of I/O read and write helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 21 Feb 2023 15:57:43 +0000 (16:57 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 1 Mar 2023 09:28:41 +0000 (10:28 +0100)
commitfaf67f640fa6c036d19727e294a2915e3fe5bf7c
tree0b291ed589d0e35ffc41f4a41e00fbc022142d6b
parenta38410860628909712ea6a2becd42bab56c70e9a
drm/ast: Rework definition of I/O read and write helpers

Ast defines a number of I/O helpers for accessing hardware. Only 4 of
the many generated functions are actually used. Replace the respective
generator macros with those 4 functions. No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230221155745.27484-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_drv.h