]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bochs: Pass bochs device to various functions
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 2 Sep 2024 10:53:42 +0000 (12:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Sep 2024 12:41:35 +0000 (14:41 +0200)
commit7a195f1c4042110ca37c88ec2829134541f6ecf7
treef7e9b66d3fae15bf2ad54a755f3d0f965d8ffaea
parent58e980c16815ce4ff8a5e036a126358afceca538
drm/bochs: Pass bochs device to various functions

Avoid upcasting from struct drm_device by passing the bochs device
directly to functions.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240902105546.792625-5-tzimmermann@suse.de
drivers/gpu/drm/tiny/bochs.c