mirror of
https://github.com/torvalds/linux.git
synced 2025-11-01 09:09:47 +02:00
The res pointer passed to simpledrm_device_release_clocks() and
simpledrm_device_release_regulators() points to an instance of
struct simpledrm_device. No need to upcast from struct drm_device.
The upcast is harmless, as DRM device is the first field in struct
simpledrm_device.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes:
|
||
|---|---|---|
| .. | ||
| drm_sysfb_helper.c | ||
| drm_sysfb_helper.h | ||
| efidrm.c | ||
| Kconfig | ||
| Makefile | ||
| ofdrm.c | ||
| simpledrm.c | ||
| vesadrm.c | ||