From patchwork Tue Mar 17 20:19:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3145 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1983962923 for ; Tue, 17 Mar 2020 21:19:39 +0100 (CET) Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B5C1CF9 for ; Tue, 17 Mar 2020 21:19:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584476378; bh=ifp40vuAvHfBLQM4/w1AJ8G3bKmL2zsRoCueMUW2NUY=; h=From:To:Subject:Date:From; b=EXUCihc3imu4t9xvJB3XtQp5uvsDEaBfCz6Fq+Pdb8nUr1cZYSiAchxd9n+zzSO6f OjsV9vRrIEYWoTnmFEqMDBRLGxzJhopcTv+DuxNQ0s1y2nlX4rBwSgrCTclLxhuwWk 4lcbx0Vpc8aw0qtmE/546iad6hQeSsYFilpLWbog= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 17 Mar 2020 22:19:25 +0200 Message-Id: <20200317201925.6515-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: v4l2_subdevice: Don't use doxygen \ref needlessly X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 20:19:39 -0000 The doxygen \ref command is used to generate a reference to a function, while adding parentheses after the function name is enough. Simplify the documentation. Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- src/libcamera/v4l2_subdevice.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp index e0985e05a8de..16b015595163 100644 --- a/src/libcamera/v4l2_subdevice.cpp +++ b/src/libcamera/v4l2_subdevice.cpp @@ -228,8 +228,7 @@ int V4L2Subdevice::getFormat(unsigned int pad, V4L2SubdeviceFormat *format, * "ActiveFormat" or \ref V4L2Subdevice::TryFormat "TryFormat" * * Apply the requested image format to the desired media pad and return the - * actually applied format parameters, as \ref V4L2Subdevice::getFormat would - * do. + * actually applied format parameters, as getFormat() would do. * * \return 0 on success or a negative error code otherwise */