Re: [PATCH 1/3] v4l: subdev: Add a function to set an I²C sub-device's name

2018-08-30 Thread Hans Verkuil
On 08/29/2018 12:52 PM, Sakari Ailus wrote: > v4l2_i2c_subdev_set_name() can be used to assign a name to a sub-device. > This way uniform names can be formed easily without having to resort to > things such as snprintf in drivers. > > Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil Thanks!

[PATCH 1/3] v4l: subdev: Add a function to set an I²C sub-device's name

2018-08-29 Thread Sakari Ailus
v4l2_i2c_subdev_set_name() can be used to assign a name to a sub-device. This way uniform names can be formed easily without having to resort to things such as snprintf in drivers. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-common.c | 18 ++