summaryrefslogtreecommitdiff
path: root/util/pinmap/pm/generate_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/pinmap/pm/generate_test.go')
-rw-r--r--util/pinmap/pm/generate_test.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/util/pinmap/pm/generate_test.go b/util/pinmap/pm/generate_test.go
index 3903180b1b..3ecdb7d1c2 100644
--- a/util/pinmap/pm/generate_test.go
+++ b/util/pinmap/pm/generate_test.go
@@ -1,4 +1,4 @@
-// Copyright 2021 The Chromium OS Authors. All rights reserved.
+// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -72,7 +72,7 @@ func TestGenerate(t *testing.T) {
* However this would considerably complicate this test.
*/
expFmt :=
- `/* Copyright %d The Chromium OS Authors. All rights reserved.
+ `/* Copyright %d The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -85,7 +85,6 @@ func TestGenerate(t *testing.T) {
compatible = "named-adc-channels";
adc_ec_adc_1: ec_adc_1 {
- label = "EC_ADC_1";
enum-name = "ENUM_ADC_1";
io-channels = <&adc0 A1>;
};
@@ -117,15 +116,15 @@ func TestGenerate(t *testing.T) {
i2c_ec_c_i2c_clk: ec_c_i2c_clk {
i2c-port = <&i2c0>;
- enum-name = "ENUM_I2C_0";
+ enum-names = "ENUM_I2C_0";
};
i2c_ec_b_i2c_clk: ec_b_i2c_clk {
i2c-port = <&i2c1>;
- enum-name = "ENUM_I2C_1";
+ enum-names = "ENUM_I2C_1";
};
i2c_ec_a_i2c_clk: ec_a_i2c_clk {
i2c-port = <&i2c2>;
- enum-name = "ENUM_I2C_2";
+ enum-names = "ENUM_I2C_2";
};
};
};