[libcamera-devel] [PATCH] libcamera: media_device: fix typo in documentation for MediaDevice::devnode()

Kieran Bingham kieran.bingham at ideasonboard.com
Mon Jan 21 16:33:54 CET 2019


Hi Niklas,

On 21/01/2019 15:12, Niklas Söderlund wrote:
> Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
> ---
>  src/libcamera/media_device.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/libcamera/media_device.cpp b/src/libcamera/media_device.cpp
> index 0ee55060aa9b5d23..a346296bc38e8f3d 100644
> --- a/src/libcamera/media_device.cpp
> +++ b/src/libcamera/media_device.cpp
> @@ -281,7 +281,7 @@ int MediaDevice::populate()
>  
>  /**
>   * \fn MediaDevice::devnode()
> - * \brief Retrieve the media device device node path
> + * \brief Retrieve the media device devnode path

I would have just deleted one of the duplicates, and put
 "Retrieve the media device node path"

device devnode feels a bit repetitive, because the 'dev' is short for
device ;)

--
Regards

Kieran



>   * \return The MediaDevice devnode path
>   */
>  
> 

-- 
Regards
--
Kieran


More information about the libcamera-devel mailing list