[libcamera-devel] [PATCH 2/4] libcamera: device_enumerator: Break line longer than 80 columns
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Feb 12 23:38:51 CET 2019
Hi Jacopo,
Thank you for the patch.
On Tue, Feb 12, 2019 at 11:20:19PM +0100, Jacopo Mondi wrote:
> Since there is no valid reason to exceed 80 columns for this lane, break
> it.
>
> Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> src/libcamera/device_enumerator.cpp | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/libcamera/device_enumerator.cpp b/src/libcamera/device_enumerator.cpp
> index 703b03dd418a..03923b3bb457 100644
> --- a/src/libcamera/device_enumerator.cpp
> +++ b/src/libcamera/device_enumerator.cpp
> @@ -234,7 +234,8 @@ int DeviceEnumerator::addDevice(const std::string &deviceNode)
> if (entity->deviceMajor() == 0 && entity->deviceMinor() == 0)
> continue;
>
> - std::string deviceNode = lookupDeviceNode(entity->deviceMajor(), entity->deviceMinor());
> + std::string deviceNode = lookupDeviceNode(entity->deviceMajor(),
> + entity->deviceMinor());
> if (deviceNode.empty())
> return -EINVAL;
>
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list