clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I81aff1005be025ddb4405f384513c8e5e20bf6f4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/hwmon-temp/HwmonTempMain.cpp b/src/hwmon-temp/HwmonTempMain.cpp
index a9ec2c1..1ec199f 100644
--- a/src/hwmon-temp/HwmonTempMain.cpp
+++ b/src/hwmon-temp/HwmonTempMain.cpp
@@ -97,8 +97,8 @@
{"W83773G", I2CDeviceType{"w83773g", true}},
};
-static struct SensorParams
- getSensorParameters(const std::filesystem::path& path)
+static struct SensorParams getSensorParameters(
+ const std::filesystem::path& path)
{
// offset is to default to 0 and scale to 1, see lore
// https://lore.kernel.org/linux-iio/5c79425f-6e88-36b6-cdfe-4080738d039f@metafoo.de/
@@ -205,8 +205,8 @@
using SensorConfigMap =
boost::container::flat_map<SensorConfigKey, SensorConfig>;
-static SensorConfigMap
- buildSensorConfigMap(const ManagedObjectType& sensorConfigs)
+static SensorConfigMap buildSensorConfigMap(
+ const ManagedObjectType& sensorConfigs)
{
SensorConfigMap configMap;
for (const auto& [path, cfgData] : sensorConfigs)