summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-11 18:58:52 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-21 22:54:05 +0000
commit43f6598b2781bd087a99626967a5186ecc2b9163 (patch)
tree6c2b0ba38b9266f5a8e72b3db00413f31785c7dd
parentbb6bf5a1d8ffe157b17a5b7f5b85eb04aeaafe68 (diff)
mb/: Drop the provided name in chip_ops
Little point to replicate a string already provided both as a global Kconfig and global mainboard_part_number. Change-Id: I1fd138c711ebbb37c39b2c8f554b1f2e1a364424 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50719 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: ron minnich <rminnich@gmail.com>
-rw-r--r--src/mainboard/cavium/cn8100_sff_evb/mainboard.c1
-rw-r--r--src/mainboard/emulation/qemu-aarch64/mainboard.c1
-rw-r--r--src/mainboard/google/asurada/mainboard.c1
-rw-r--r--src/mainboard/google/foster/mainboard.c1
-rw-r--r--src/mainboard/google/gale/mainboard.c1
-rw-r--r--src/mainboard/google/gru/mainboard.c1
-rw-r--r--src/mainboard/google/kukui/mainboard.c1
-rw-r--r--src/mainboard/google/mistral/mainboard.c1
-rw-r--r--src/mainboard/google/nyan/mainboard.c1
-rw-r--r--src/mainboard/google/nyan_big/mainboard.c1
-rw-r--r--src/mainboard/google/nyan_blaze/mainboard.c1
-rw-r--r--src/mainboard/google/oak/mainboard.c1
-rw-r--r--src/mainboard/google/peach_pit/mainboard.c1
-rw-r--r--src/mainboard/google/smaug/mainboard.c1
-rw-r--r--src/mainboard/google/storm/mainboard.c1
-rw-r--r--src/mainboard/google/trogdor/mainboard.c1
-rw-r--r--src/mainboard/opencellular/elgon/mainboard.c1
-rw-r--r--src/mainboard/sifive/hifive-unleashed/mainboard.c1
18 files changed, 0 insertions, 18 deletions
diff --git a/src/mainboard/cavium/cn8100_sff_evb/mainboard.c b/src/mainboard/cavium/cn8100_sff_evb/mainboard.c
index 3b26722caf..8c25b1eb64 100644
--- a/src/mainboard/cavium/cn8100_sff_evb/mainboard.c
+++ b/src/mainboard/cavium/cn8100_sff_evb/mainboard.c
@@ -261,6 +261,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = CONFIG_MAINBOARD_PART_NUMBER,
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/emulation/qemu-aarch64/mainboard.c b/src/mainboard/emulation/qemu-aarch64/mainboard.c
index 212064b6f3..988502fd7e 100644
--- a/src/mainboard/emulation/qemu-aarch64/mainboard.c
+++ b/src/mainboard/emulation/qemu-aarch64/mainboard.c
@@ -17,7 +17,6 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "qemu_aarch64",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/asurada/mainboard.c b/src/mainboard/google/asurada/mainboard.c
index 812cb006da..16325c8602 100644
--- a/src/mainboard/google/asurada/mainboard.c
+++ b/src/mainboard/google/asurada/mainboard.c
@@ -232,6 +232,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = CONFIG_MAINBOARD_PART_NUMBER,
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/foster/mainboard.c b/src/mainboard/google/foster/mainboard.c
index 4a56e8aae0..7c34756f86 100644
--- a/src/mainboard/google/foster/mainboard.c
+++ b/src/mainboard/google/foster/mainboard.c
@@ -103,6 +103,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "foster",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/gale/mainboard.c b/src/mainboard/google/gale/mainboard.c
index bc4fc933be..3c4f86184e 100644
--- a/src/mainboard/google/gale/mainboard.c
+++ b/src/mainboard/google/gale/mainboard.c
@@ -49,7 +49,6 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "gale",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/gru/mainboard.c b/src/mainboard/google/gru/mainboard.c
index 2bf7854f97..1690fb2142 100644
--- a/src/mainboard/google/gru/mainboard.c
+++ b/src/mainboard/google/gru/mainboard.c
@@ -684,6 +684,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = CONFIG_MAINBOARD_PART_NUMBER,
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/kukui/mainboard.c b/src/mainboard/google/kukui/mainboard.c
index 7efa01b0cc..fbdf63320c 100644
--- a/src/mainboard/google/kukui/mainboard.c
+++ b/src/mainboard/google/kukui/mainboard.c
@@ -219,6 +219,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = CONFIG_MAINBOARD_PART_NUMBER,
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/mistral/mainboard.c b/src/mainboard/google/mistral/mainboard.c
index 4079182497..804afb4135 100644
--- a/src/mainboard/google/mistral/mainboard.c
+++ b/src/mainboard/google/mistral/mainboard.c
@@ -32,6 +32,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = CONFIG_MAINBOARD_PART_NUMBER,
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/nyan/mainboard.c b/src/mainboard/google/nyan/mainboard.c
index 5b7e02ca06..8bce1b2b04 100644
--- a/src/mainboard/google/nyan/mainboard.c
+++ b/src/mainboard/google/nyan/mainboard.c
@@ -236,7 +236,6 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "nyan",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/nyan_big/mainboard.c b/src/mainboard/google/nyan_big/mainboard.c
index 335688ab20..81da9128a8 100644
--- a/src/mainboard/google/nyan_big/mainboard.c
+++ b/src/mainboard/google/nyan_big/mainboard.c
@@ -234,7 +234,6 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "nyan_big",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/nyan_blaze/mainboard.c b/src/mainboard/google/nyan_blaze/mainboard.c
index 79ee6572b9..4499f9cb7f 100644
--- a/src/mainboard/google/nyan_blaze/mainboard.c
+++ b/src/mainboard/google/nyan_blaze/mainboard.c
@@ -234,7 +234,6 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "nyan_blaze",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c
index cd17edebe1..0e9dc1359c 100644
--- a/src/mainboard/google/oak/mainboard.c
+++ b/src/mainboard/google/oak/mainboard.c
@@ -264,6 +264,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "oak",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/peach_pit/mainboard.c b/src/mainboard/google/peach_pit/mainboard.c
index ab3c0f5b35..c279777e47 100644
--- a/src/mainboard/google/peach_pit/mainboard.c
+++ b/src/mainboard/google/peach_pit/mainboard.c
@@ -452,7 +452,6 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "peach_pit",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/smaug/mainboard.c b/src/mainboard/google/smaug/mainboard.c
index 852e73de67..fe09d32802 100644
--- a/src/mainboard/google/smaug/mainboard.c
+++ b/src/mainboard/google/smaug/mainboard.c
@@ -197,7 +197,6 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "smaug",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/storm/mainboard.c b/src/mainboard/google/storm/mainboard.c
index 4faf8329bc..aff7b94f1f 100644
--- a/src/mainboard/google/storm/mainboard.c
+++ b/src/mainboard/google/storm/mainboard.c
@@ -95,7 +95,6 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = "storm",
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/google/trogdor/mainboard.c b/src/mainboard/google/trogdor/mainboard.c
index 9bf8507d64..61a64f842e 100644
--- a/src/mainboard/google/trogdor/mainboard.c
+++ b/src/mainboard/google/trogdor/mainboard.c
@@ -127,6 +127,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = CONFIG_MAINBOARD_PART_NUMBER,
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/opencellular/elgon/mainboard.c b/src/mainboard/opencellular/elgon/mainboard.c
index f9dc03c207..c935d2bd1e 100644
--- a/src/mainboard/opencellular/elgon/mainboard.c
+++ b/src/mainboard/opencellular/elgon/mainboard.c
@@ -104,6 +104,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = CONFIG_MAINBOARD_PART_NUMBER,
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/sifive/hifive-unleashed/mainboard.c b/src/mainboard/sifive/hifive-unleashed/mainboard.c
index e0b43053f9..22bd9fa6ef 100644
--- a/src/mainboard/sifive/hifive-unleashed/mainboard.c
+++ b/src/mainboard/sifive/hifive-unleashed/mainboard.c
@@ -10,6 +10,5 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- .name = CONFIG_MAINBOARD_PART_NUMBER,
.enable_dev = mainboard_enable,
};