drm_hwcomposer: Reformat using clang-format-5.0
Run the new clang-format style over the codebase to make things
compatible.
Change-Id: I267d5070929aaa7965d58655da841402debdcb6c
Signed-off-by: Sean Paul <seanpaul@chromium.org>
diff --git a/platform.cpp b/platform.cpp
index 39761fa..af18124 100644
--- a/platform.cpp
+++ b/platform.cpp
@@ -16,8 +16,8 @@
#define LOG_TAG "hwc-platform"
-#include "drmdevice.h"
#include "platform.h"
+#include "drmdevice.h"
#include <log/log.h>
@@ -41,8 +41,8 @@
std::vector<DrmPlane *> *primary_planes,
std::vector<DrmPlane *> *overlay_planes) {
std::vector<DrmCompositionPlane> composition;
- std::vector<DrmPlane *> planes =
- GetUsablePlanes(crtc, primary_planes, overlay_planes);
+ std::vector<DrmPlane *> planes = GetUsablePlanes(crtc, primary_planes,
+ overlay_planes);
if (planes.empty()) {
ALOGE("Display %d has no usable planes", crtc->display());
return std::make_tuple(-ENODEV, std::vector<DrmCompositionPlane>());
@@ -101,4 +101,4 @@
return 0;
}
-}
+} // namespace android