From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F07B7E for ; Wed, 2 Nov 2022 02:44:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2430FC433C1; Wed, 2 Nov 2022 02:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1667357087; bh=2reCW8qY7VCLP0DggSZ1mAfVF1eILFVfy4OmNNC6pdc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Re76np/00KtRLMSssf/xa9GthUR5p5GocRr1mZLGHgJf6zqLIX5lYKW0p/24ooFBT erVUKaF+DxkRiT2QbWtWpVncPm8kW+/RZvDFxdddxKV79Kc0PoVnrbM5khHrTM6an6 vuocp8eY2Qyq4m2xHLFx12+13rSOfbUy79tg5jcQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Alexander Stein , Sakari Ailus , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 6.0 110/240] media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation Date: Wed, 2 Nov 2022 03:31:25 +0100 Message-Id: <20221102022113.876748824@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102022111.398283374@linuxfoundation.org> References: <20221102022111.398283374@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Alexander Stein [ 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 Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- include/media/v4l2-common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index b708d63995f4..2ae2be4c87e5 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h @@ -175,7 +175,8 @@ struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, * * @sd: pointer to &struct v4l2_subdev * @client: pointer to struct i2c_client - * @devname: the name of the device; if NULL, the I²C device's name will be used + * @devname: the name of the device; if NULL, the I²C device drivers's name + * will be used * @postfix: sub-device specific string to put right after the I²C device name; * may be NULL */ -- 2.35.1