Skip to content

Uniformly assign sub-device names

Sakari Ailus linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3v4l: subdev: Add a function to set an I²C sub-device's namedrivers/media/v4l2-core/v4l2-common.c include/media/v4l2-common.h+26 -41 reply
2/3smiapp: Use v4l2_i2c_subdev_set_namedrivers/media/i2c/smiapp/smiapp-core.c+4 -61 reply
3/3sr030pc30: Remove redundant setting of sub-device namedrivers/media/i2c/sr030pc30.c+0 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchHans Verkuil
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Uniformly assign sub-device names

Hi all,

Recently we noticed the sub-device drivers used a few different naming schemes, as well as a few more different implementations of that naming. This set adds a framework function to call to name sub-devices for cases where a sub-device driver exposes more than one sub-device.

This set brings no functional change.

Sakari Ailus (3):
v4l: subdev: Add a function to set an I²C sub-device's name
smiapp: Use v4l2_i2c_subdev_set_name
v4l: sr030pc30: Remove redundant setting of sub-device name

 drivers/media/i2c/smiapp/smiapp-core.c | 10 ++++------
 drivers/media/i2c/sr030pc30.c          |  1 -
 drivers/media/v4l2-core/v4l2-common.c  | 18 ++++++++++++++----
 include/media/v4l2-common.h            | 12 ++++++++++++
 4 files changed, 30 insertions(+), 11 deletions(-)
Signature · 1 line
2.11.0