Skip to content

drm: constify the struct device_type usage

Ricardo B. Marliere dri-devel lkml 1 version New

Get series with b4
b4 am [email protected] change-id 20240219-device_cleanup-drm-eeeb5c7468da

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/dp: constify the struct device_type usagedrivers/gpu/drm/display/drm_dp_aux_bus.c+1 -10 replies
2/3drm/privacy_screen: constify the struct device_type usagedrivers/gpu/drm/drm_privacy_screen.c+1 -10 replies
3/3drm/sysfs: constify the struct device_type usagedrivers/gpu/drm/drm_sysfs.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH drm-misc 0/3] drm: constify the struct device_type usage

This is a simple and straight forward cleanup series that makes all device types in the net subsystem constants. This has been possible since 2011 [1] but not all occurrences were cleaned. I have been sweeping the tree to fix them all.

---
[1] https://lore.kernel.org/all/[email protected]/

To: Maarten Lankhorst <[email protected]>
To: Maxime Ripard <[email protected]>
To: Thomas Zimmermann <[email protected]>
To: David Airlie <[email protected]>
To: Daniel Vetter <[email protected]>
To: Hans de Goede <[email protected]>

---
Ricardo B. Marliere (3):
drm/dp: constify the struct device_type usage drm/privacy_screen: constify the struct device_type usage drm/sysfs: constify the struct device_type usage

 drivers/gpu/drm/display/drm_dp_aux_bus.c | 2 +-
 drivers/gpu/drm/drm_privacy_screen.c     | 2 +-
 drivers/gpu/drm/drm_sysfs.c              | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

---
base-commit: b59dcca97bf052341b9ac28b1ee1af46498b8833
change-id: 20240219-device_cleanup-drm-eeeb5c7468da

Best regards,

Signature · 1 line
Ricardo B. Marliere <[email protected]>