Skip to content

drm: constify read-only regmap structs

Javier Carrasco dri-devel linux-amlogic linux-arm-kernel linux-mediatek lkml 1 version Applied

Status from this message: Applied to drm-misc-next, thanks!

Get series with b4
b4 am [email protected] change-id 20240925-drm-const-regmap-307f2c358d10

Versions newest first

  1. v1 Latest6 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6drm/bridge: dpc3433: Constify struct regmap_configdrivers/gpu/drm/bridge/ti-dlpc3433.c+1 -10 replies
2/6drm/fsl-dcu: Constify struct regmap_configdrivers/gpu/drm/fsl-dcu/fsl_tcon.c+1 -10 replies
3/6drm/mediatek: dp: Constify struct regmap_configdrivers/gpu/drm/mediatek/mtk_dp.c+1 -10 replies
4/6drm/meson: Constify struct regmap_configdrivers/gpu/drm/meson/meson_drv.c+1 -10 replies
5/6drm/panel: ili9322: Constify struct regmap_busdrivers/gpu/drm/panel/panel-ilitek-ili9322.c+1 -11 reply
6/6drm/sprd: Constify struct regmap_busdrivers/gpu/drm/sprd/sprd_dsi.c+1 -10 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDmitry BaryshkovAngeloGioacchino Del RegnoNeil Armstrong
SeriesR-b R-b
1/6
2/6
3/6
4/6
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] drm: constify read-only regmap structs

This series adds the const modifier to the remaining regmap_bus and regmap_config structs under drm/ that are effectively used as const (i.e., only read after their declaration), but kept ad writtable data.

---
Javier Carrasco (6):
drm/bridge: dpc3433: Constify struct regmap_config drm/fsl-dcu: Constify struct regmap_config drm/mediatek: dp: Constify struct regmap_config drm/meson: Constify struct regmap_config drm/panel: ili9322: Constify struct regmap_bus drm/sprd: Constify struct regmap_bus

 drivers/gpu/drm/bridge/ti-dlpc3433.c         | 2 +-
 drivers/gpu/drm/fsl-dcu/fsl_tcon.c           | 2 +-
 drivers/gpu/drm/mediatek/mtk_dp.c            | 2 +-
 drivers/gpu/drm/meson/meson_drv.c            | 2 +-
 drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 2 +-
 drivers/gpu/drm/sprd/sprd_dsi.c              | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

---
base-commit: 2b7275670032a98cba266bd1b8905f755b3e650f
change-id: 20240925-drm-const-regmap-307f2c358d10

Best regards,

Signature · 1 line
Javier Carrasco <[email protected]>