]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/tiny/gm12u320: Retrieve USB device from struct drm_device.dev
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Nov 2020 11:34:55 +0000 (12:34 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 9 Nov 2020 08:16:13 +0000 (09:16 +0100)
commit0454bc59be9e988422793f55a089ee4e86f11f25
treecca15eb84e09d19dde4e0e67ddd8b3a225976160
parent2d26123dd9075df82f217364f585a3a6aab5412d
drm/tiny/gm12u320: Retrieve USB device from struct drm_device.dev

Drop the driver's udev field in favor of struct drm_device.dev. No
functional changes made.

v3:
* upcast dev with gm12u320_to_usb_device()
v2:
* upcast dev with drm_dev_get_usb_device()

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201103113456.3066-2-tzimmermann@suse.de
drivers/gpu/drm/tiny/gm12u320.c