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>
This commit is contained in:
parent
bb6bf5a1d8
commit
43f6598b27
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -17,7 +17,6 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "qemu_aarch64",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -103,6 +103,5 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "foster",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
|
|
@ -49,7 +49,6 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "gale",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -236,7 +236,6 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "nyan",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -234,7 +234,6 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "nyan_big",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -234,7 +234,6 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "nyan_blaze",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -264,6 +264,5 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "oak",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
|
|
@ -452,7 +452,6 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "peach_pit",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -197,7 +197,6 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "smaug",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -95,7 +95,6 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.name = "storm",
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue