]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Nov 2022 14:57:51 +0000 (23:57 +0900)
commit4953a989b72d2b809b18dde7a4c2844cba4232d4
tree34f4590bf7dc3099abb13758e1a9bcaf7a5a0287
parent9d00384270b15ed19c3987effe826b061b567171
media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation

[ Upstream commit bb9ea2c31fa11b789ade4c3abcdda3c5370a76ab ]

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: 0658293012af ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/media/v4l2-common.h