]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Fri, 22 Jul 2022 07:11:31 +0000 (09:11 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 07:02:54 +0000 (09:02 +0200)
commit0f760f17caa5fcdf185f0798a43013549dde04f8
treedd95972e2bda82a2d3fb51a5051002fbb0178710
parentd93129d617f7bc9d90b13d32edacae7c8692b02b
media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation

The doc says the I²C device's name is used if devname is NULL, but
actually the I²C device driver's name is used.

Fixes: b77980a75505 ("media: v4l: subdev: Add a function to set an I²C sub-device's name")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
include/media/v4l2-common.h