]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/mgag200: Inline mgag200_device_init()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 2 Jul 2021 07:56:40 +0000 (09:56 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 5 Jul 2021 06:55:32 +0000 (08:55 +0200)
commit382d019d1022bc7e3b45c664a5545f21f6b85dc0
tree826b45dfd148480d9840a8c61346dbf17ddfb67f
parente36edabc9411a9fe3ffa7e51350d488f77849d98
drm/mgag200: Inline mgag200_device_init()

Inline mgag200_device_init() into mgag200_device_create(), which is
the only caller. Also remove a duplicate error message for
mgag200_modeset_init(). The function will print an error if/where it
failed.

v2:
* include a note about the removed error message in
  changelog (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210702075642.27834-3-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.c