clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I7b90380845efee6bf6a1fe342a793d71aa9ff181
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/phosphor-power-sequencer/src/pmbus_driver_device.hpp b/phosphor-power-sequencer/src/pmbus_driver_device.hpp
index e7e85ac..c8754db 100644
--- a/phosphor-power-sequencer/src/pmbus_driver_device.hpp
+++ b/phosphor-power-sequencer/src/pmbus_driver_device.hpp
@@ -61,17 +61,15 @@
* @param driverName Device driver name
* @param instance Chip instance number
*/
- explicit PMBusDriverDevice(const std::string& name,
- std::vector<std::unique_ptr<Rail>> rails,
- Services& services, uint8_t bus,
- uint16_t address,
- const std::string& driverName = "",
- size_t instance = 0) :
- StandardDevice(name, std::move(rails)),
- bus{bus}, address{address}, driverName{driverName}, instance{instance}
+ explicit PMBusDriverDevice(
+ const std::string& name, std::vector<std::unique_ptr<Rail>> rails,
+ Services& services, uint8_t bus, uint16_t address,
+ const std::string& driverName = "", size_t instance = 0) :
+ StandardDevice(name, std::move(rails)), bus{bus}, address{address},
+ driverName{driverName}, instance{instance}
{
- pmbusInterface = services.createPMBus(bus, address, driverName,
- instance);
+ pmbusInterface =
+ services.createPMBus(bus, address, driverName, instance);
}
/**