prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.
Change-Id: I961ec77b2617da3e097e64e0d8e8980bb7e5b426
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/presence/config_files/p10bmc/ibm,rainier-2u/config.json b/presence/config_files/p10bmc/ibm,rainier-2u/config.json
index a5cc1bf..f06ca9f 100644
--- a/presence/config_files/p10bmc/ibm,rainier-2u/config.json
+++ b/presence/config_files/p10bmc/ibm,rainier-2u/config.json
@@ -1,134 +1,116 @@
[
- {
- "name": "fan0",
- "path": "/system/chassis/motherboard/fan0",
- "methods": [
- {
- "type": "gpio",
- "key": 6,
- "physpath": "/sys/bus/i2c/devices/7-0061",
- "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
- },
- {
- "type": "tach",
- "sensors": [
- "fan0_0",
- "fan0_1"
- ]
- }
- ],
- "rpolicy": {
- "type": "anyof"
- }
- },
- {
- "name": "fan1",
- "path": "/system/chassis/motherboard/fan1",
- "methods": [
- {
- "type": "gpio",
- "key": 7,
- "physpath": "/sys/bus/i2c/devices/7-0061",
- "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
- },
- {
- "type": "tach",
- "sensors": [
- "fan1_0",
- "fan1_1"
- ]
- }
- ],
- "rpolicy": {
- "type": "anyof"
- }
- },
- {
- "name": "fan2",
- "path": "/system/chassis/motherboard/fan2",
- "methods": [
- {
- "type": "gpio",
- "key": 8,
- "physpath": "/sys/bus/i2c/devices/7-0061",
- "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
- },
- {
- "type": "tach",
- "sensors": [
- "fan2_0",
- "fan2_1"
- ]
- }
- ],
- "rpolicy": {
- "type": "anyof"
- }
- },
- {
- "name": "fan3",
- "path": "/system/chassis/motherboard/fan3",
- "methods": [
- {
- "type": "gpio",
- "key": 9,
- "physpath": "/sys/bus/i2c/devices/7-0061",
- "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
- },
- {
- "type": "tach",
- "sensors": [
- "fan3_0",
- "fan3_1"
- ]
- }
- ],
- "rpolicy": {
- "type": "anyof"
- }
- },
- {
- "name": "fan4",
- "path": "/system/chassis/motherboard/fan4",
- "methods": [
- {
- "type": "gpio",
- "key": 10,
- "physpath": "/sys/bus/i2c/devices/7-0061",
- "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
- },
- {
- "type": "tach",
- "sensors": [
- "fan4_0",
- "fan4_1"
- ]
- }
- ],
- "rpolicy": {
- "type": "anyof"
- }
- },
- {
- "name": "fan5",
- "path": "/system/chassis/motherboard/fan5",
- "methods": [
- {
- "type": "gpio",
- "key": 11,
- "physpath": "/sys/bus/i2c/devices/7-0061",
- "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
- },
- {
- "type": "tach",
- "sensors": [
- "fan5_0",
- "fan5_1"
- ]
- }
- ],
- "rpolicy": {
- "type": "anyof"
- }
- }
+ {
+ "name": "fan0",
+ "path": "/system/chassis/motherboard/fan0",
+ "methods": [
+ {
+ "type": "gpio",
+ "key": 6,
+ "physpath": "/sys/bus/i2c/devices/7-0061",
+ "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
+ },
+ {
+ "type": "tach",
+ "sensors": ["fan0_0", "fan0_1"]
+ }
+ ],
+ "rpolicy": {
+ "type": "anyof"
+ }
+ },
+ {
+ "name": "fan1",
+ "path": "/system/chassis/motherboard/fan1",
+ "methods": [
+ {
+ "type": "gpio",
+ "key": 7,
+ "physpath": "/sys/bus/i2c/devices/7-0061",
+ "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
+ },
+ {
+ "type": "tach",
+ "sensors": ["fan1_0", "fan1_1"]
+ }
+ ],
+ "rpolicy": {
+ "type": "anyof"
+ }
+ },
+ {
+ "name": "fan2",
+ "path": "/system/chassis/motherboard/fan2",
+ "methods": [
+ {
+ "type": "gpio",
+ "key": 8,
+ "physpath": "/sys/bus/i2c/devices/7-0061",
+ "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
+ },
+ {
+ "type": "tach",
+ "sensors": ["fan2_0", "fan2_1"]
+ }
+ ],
+ "rpolicy": {
+ "type": "anyof"
+ }
+ },
+ {
+ "name": "fan3",
+ "path": "/system/chassis/motherboard/fan3",
+ "methods": [
+ {
+ "type": "gpio",
+ "key": 9,
+ "physpath": "/sys/bus/i2c/devices/7-0061",
+ "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
+ },
+ {
+ "type": "tach",
+ "sensors": ["fan3_0", "fan3_1"]
+ }
+ ],
+ "rpolicy": {
+ "type": "anyof"
+ }
+ },
+ {
+ "name": "fan4",
+ "path": "/system/chassis/motherboard/fan4",
+ "methods": [
+ {
+ "type": "gpio",
+ "key": 10,
+ "physpath": "/sys/bus/i2c/devices/7-0061",
+ "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
+ },
+ {
+ "type": "tach",
+ "sensors": ["fan4_0", "fan4_1"]
+ }
+ ],
+ "rpolicy": {
+ "type": "anyof"
+ }
+ },
+ {
+ "name": "fan5",
+ "path": "/system/chassis/motherboard/fan5",
+ "methods": [
+ {
+ "type": "gpio",
+ "key": 11,
+ "physpath": "/sys/bus/i2c/devices/7-0061",
+ "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
+ },
+ {
+ "type": "tach",
+ "sensors": ["fan5_0", "fan5_1"]
+ }
+ ],
+ "rpolicy": {
+ "type": "anyof"
+ }
+ }
]