Skip to content

media: Constify struct regmap_config

Javier Carrasco linux-media lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20240705-media-const-regmap_config-958dfd37063c

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: i2c: tvp5150: Constify struct regmap_configdrivers/media/i2c/tvp5150.c+1 -11 reply
2/2media: platform: allegro-dvt: Constify struct regmap_configdrivers/media/platform/allegro-dvt/allegro-core.c+2 -21 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] media: Constify struct regmap_config

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

---
Javier Carrasco (2):
media: i2c: tvp5150: Constify struct regmap_config
media: platform: allegro-dvt: Constify struct regmap_config

 drivers/media/i2c/tvp5150.c                       | 2 +-
 drivers/media/platform/allegro-dvt/allegro-core.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

---
base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
change-id: 20240705-media-const-regmap_config-958dfd37063c

Best regards,

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