hwmon: revert alignment change and fix-up
Using clang-format off/on instead of INDENT-OFF/ON.
Change-Id: If4ecec970cfc456f8461c42e03159df29b4e8542
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/hwmon.cpp b/hwmon.cpp
index adde6e4..bfb67aa 100644
--- a/hwmon.cpp
+++ b/hwmon.cpp
@@ -5,11 +5,16 @@
bool getAttributes(const std::string& type, Attributes& attributes)
{
- // *INDENT-OFF*
+ // clang-format off
auto a =
- std::find_if(typeAttrMap.begin(), typeAttrMap.end(),
- [&](const auto& e) { return type == getHwmonType(e); });
- // *INDENT-ON*
+ std::find_if(
+ typeAttrMap.begin(),
+ typeAttrMap.end(),
+ [&](const auto& e)
+ {
+ return type == getHwmonType(e);
+ });
+ // clang-format on
if (a == typeAttrMap.end())
{