Skip to content

Commit 4b4147d

Browse files
committed
regulators: change regulator names to those in new devicetrees
The regulator names with underscores instead of dashes do not match the schema that should be used in upstream devicetrees. Change the names to enable mainlining. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
1 parent ab57286 commit 4b4147d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/regulators.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ fn handle_regulator(
7575
impl Regulators {
7676
pub fn new(bb: &mut BrokerBuilder) -> Self {
7777
Self {
78-
iobus_pwr_en: handle_regulator(bb, "/v1/iobus/powered", "output_iobus_12v", true),
79-
uart_pwr_en: handle_regulator(bb, "/v1/uart/powered", "output_vuart", true),
78+
iobus_pwr_en: handle_regulator(bb, "/v1/iobus/powered", "output-iobus-12v", true),
79+
uart_pwr_en: handle_regulator(bb, "/v1/uart/powered", "output-vuart", true),
8080
}
8181
}
8282
}

0 commit comments

Comments
 (0)