mbox series

[RESEND,drm-misc,0/4] drm: constify struct class usage

Message ID 20240305-class_cleanup-drm-v1-0-94f82740525a@marliere.net
Headers show
Series drm: constify struct class usage | expand

Message

Ricardo B. Marliere March 5, 2024, 11:34 a.m. UTC
This is a simple and straight forward cleanup series that aims to make the
class structures in drm constant. This has been possible since 2023 [1].

[1]: https://lore.kernel.org/all/2023040248-customary-release-4aec@gregkh/

Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
---
Ricardo B. Marliere (4):
      drm/dp: make drm_dp_aux_dev_class constant
      drm/sysfs: make drm_class constant
      drm/fbdev/core: make fb_class constant
      dma-buf: heaps: make dma_heap_class constant

 drivers/dma-buf/dma-heap.c               | 26 ++++++++++---------
 drivers/gpu/drm/display/drm_dp_aux_dev.c | 22 ++++++++--------
 drivers/gpu/drm/drm_internal.h           |  2 +-
 drivers/gpu/drm/drm_privacy_screen.c     |  2 +-
 drivers/gpu/drm/drm_sysfs.c              | 44 ++++++++++++++------------------
 drivers/video/fbdev/core/fb_internal.h   |  2 +-
 drivers/video/fbdev/core/fbcon.c         |  4 +--
 drivers/video/fbdev/core/fbmem.c         | 17 ++++++------
 drivers/video/fbdev/core/fbsysfs.c       |  4 +--
 9 files changed, 60 insertions(+), 63 deletions(-)
---
base-commit: 4a0e7b3c37531aabddf6f144b83ae9b65ec809fd
change-id: 20240305-class_cleanup-drm-591ca73b31f2

Best regards,