summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-02-10 16:23:16 +0100
committerJacopo Mondi <jacopo@jmondi.org>2019-02-14 05:27:20 +0100
commitfea6dc9365c3793308e32f2cf73fafd94e144dd1 (patch)
tree60bdacba4f358186a9f9cf5b6db7d05e2c5ec545 /src
parent26df58377b528133a1d839360ec3f5d0e577b504 (diff)
libcamera: device_enumerator: Break line longer than 80 columns
Since there is no valid reason to exceed 80 columns for this lane, break it. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/device_enumerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcamera/device_enumerator.cpp b/src/libcamera/device_enumerator.cpp
index 5a9d3353..abbd0ef7 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;