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/drmmode.cpp b/drmmode.cpp
index ee47a8e..5f2e7c2 100644
--- a/drmmode.cpp
+++ b/drmmode.cpp
@@ -14,12 +14,12 @@
* limitations under the License.
*/
-#include "drmdevice.h"
#include "drmmode.h"
+#include "drmdevice.h"
#include <stdint.h>
-#include <string>
#include <xf86drmMode.h>
+#include <string>
namespace android {
@@ -122,8 +122,8 @@
}
float DrmMode::v_refresh() const {
- return v_refresh_ ? v_refresh_ * 1.0f :
- clock_ / (float)(v_total_ * h_total_) * 1000.0f;
+ return v_refresh_ ? v_refresh_ * 1.0f
+ : clock_ / (float)(v_total_ * h_total_) * 1000.0f;
}
uint32_t DrmMode::flags() const {
@@ -137,4 +137,4 @@
std::string DrmMode::name() const {
return name_;
}
-}
+} // namespace android