add .clang-format
Change-Id: I6627b5569c2e0f730be7331403218b823a2c622f
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/sysfs/util.cpp b/sysfs/util.cpp
index c297412..aeceada 100644
--- a/sysfs/util.cpp
+++ b/sysfs/util.cpp
@@ -14,17 +14,17 @@
* limitations under the License.
*/
+#include "sysfs/util.hpp"
+
#include <experimental/filesystem>
#include <iostream>
#include <string>
-
-#include "sysfs/util.hpp"
-
/*
* There are two basic paths I want to support:
* 1. /sys/class/hwmon/hwmon0/pwm1
- * 2. /sys/devices/platform/ahb/1e786000.pwm-tacho-controller/hwmon/<asterisk asterisk>/pwm1
+ * 2. /sys/devices/platform/ahb/1e786000.pwm-tacho-controller/hwmon/<asterisk
+ * asterisk>/pwm1
*
* In this latter case, I want to fill in that gap. Assuming because it's this
* path that it'll only have one directory there.
@@ -33,7 +33,6 @@
static constexpr auto platform = "/sys/devices/platform/";
namespace fs = std::experimental::filesystem;
-
std::string FixupPath(std::string original)
{
std::string::size_type n, x;