summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpu/amd/pi/00730F01/chip_name.c2
-rw-r--r--src/cpu/intel/haswell/acpi.c2
-rw-r--r--src/cpu/intel/model_1067x/model_1067x_init.c2
-rw-r--r--src/cpu/intel/model_2065x/acpi.c2
-rw-r--r--src/cpu/intel/model_206ax/acpi.c2
-rw-r--r--src/cpu/intel/slot_1/slot_1.c2
-rw-r--r--src/cpu/power9/power9.c2
-rw-r--r--src/cpu/qemu-power8/qemu.c2
-rw-r--r--src/cpu/qemu-x86/qemu.c2
-rw-r--r--src/drivers/acpi/thermal_zone/thermal_zone.c2
-rw-r--r--src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c2
-rw-r--r--src/drivers/crb/tis.c2
-rw-r--r--src/drivers/generic/adau7002/adau7002.c2
-rw-r--r--src/drivers/generic/alc1015/alc1015.c2
-rw-r--r--src/drivers/generic/bayhub/bh720.c2
-rw-r--r--src/drivers/generic/bayhub_lv2/lv2.c2
-rw-r--r--src/drivers/generic/gpio_keys/gpio_keys.c2
-rw-r--r--src/drivers/generic/max98357a/max98357a.c2
-rw-r--r--src/drivers/generic/nau8315/nau8315.c2
-rw-r--r--src/drivers/genesyslogic/gl9750/gl9750.c2
-rw-r--r--src/drivers/genesyslogic/gl9755/gl9755.c2
-rw-r--r--src/drivers/genesyslogic/gl9763e/gl9763e.c2
-rw-r--r--src/drivers/gfx/generic/generic.c2
-rw-r--r--src/drivers/i2c/at24rf08c/at24rf08c.c2
-rw-r--r--src/drivers/i2c/ck505/ck505.c2
-rw-r--r--src/drivers/i2c/cs35l53/cs35l53.c2
-rw-r--r--src/drivers/i2c/cs42l42/cs42l42.c2
-rw-r--r--src/drivers/i2c/da7219/da7219.c2
-rw-r--r--src/drivers/i2c/generic/generic.c2
-rw-r--r--src/drivers/i2c/gpiomux/bus/bus.c2
-rw-r--r--src/drivers/i2c/gpiomux/mux/mux.c2
-rw-r--r--src/drivers/i2c/hid/hid.c2
-rw-r--r--src/drivers/i2c/lm96000/lm96000.c2
-rw-r--r--src/drivers/i2c/max98373/max98373.c2
-rw-r--r--src/drivers/i2c/max98390/max98390.c2
-rw-r--r--src/drivers/i2c/max98396/max98396.c2
-rw-r--r--src/drivers/i2c/max98927/max98927.c2
-rw-r--r--src/drivers/i2c/nau8825/nau8825.c2
-rw-r--r--src/drivers/i2c/nct7802y/nct7802y.c2
-rw-r--r--src/drivers/i2c/pca9538/pca9538.c2
-rw-r--r--src/drivers/i2c/pcf8523/pcf8523.c2
-rw-r--r--src/drivers/i2c/pi608gp/pi608gp.c2
-rw-r--r--src/drivers/i2c/ptn3460/ptn3460.c2
-rw-r--r--src/drivers/i2c/rt1011/rt1011.c2
-rw-r--r--src/drivers/i2c/rt5663/rt5663.c2
-rw-r--r--src/drivers/i2c/rtd2132/rtd2132.c2
-rw-r--r--src/drivers/i2c/rv3028c7/rv3028c7.c2
-rw-r--r--src/drivers/i2c/rx6110sa/rx6110sa.c2
-rw-r--r--src/drivers/i2c/sx9310/sx9310.c2
-rw-r--r--src/drivers/i2c/sx9324/sx9324.c2
-rw-r--r--src/drivers/i2c/sx9360/sx9360.c2
-rw-r--r--src/drivers/i2c/tas5825m/tas5825m.c2
-rw-r--r--src/drivers/i2c/tpm/chip.c2
-rw-r--r--src/drivers/intel/dptf/dptf.c2
-rw-r--r--src/drivers/intel/ish/ish.c2
-rw-r--r--src/drivers/intel/mipi_camera/camera.c2
-rw-r--r--src/drivers/intel/pmc_mux/conn/conn.c2
-rw-r--r--src/drivers/intel/pmc_mux/mux.c2
-rw-r--r--src/drivers/intel/soundwire/soundwire.c2
-rw-r--r--src/drivers/intel/usb4/retimer/retimer.c2
-rw-r--r--src/drivers/ipmi/ipmi_kcs_ops.c2
-rw-r--r--src/drivers/ipmi/ocp/ipmi_ocp.c2
-rw-r--r--src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c2
-rw-r--r--src/drivers/net/atl1e.c2
-rw-r--r--src/drivers/net/phy/m88e1512/m88e1512.c2
-rw-r--r--src/drivers/net/r8168.c2
-rw-r--r--src/drivers/nxp/uwb/uwb.c2
-rw-r--r--src/drivers/pc80/tpm/tis.c2
-rw-r--r--src/drivers/pcie/generic/generic.c2
-rw-r--r--src/drivers/pcie/rtd3/device/chip.c2
-rw-r--r--src/drivers/ricoh/rce822/rce822.c2
-rw-r--r--src/drivers/secunet/dmi/smbios.c2
-rw-r--r--src/drivers/sof/sof.c2
-rw-r--r--src/drivers/soundwire/alc1308/alc1308.c2
-rw-r--r--src/drivers/soundwire/alc5682/alc5682.c2
-rw-r--r--src/drivers/soundwire/alc711/alc711.c2
-rw-r--r--src/drivers/soundwire/cs42l42/cs42l42.c2
-rw-r--r--src/drivers/soundwire/max98363/max98363.c2
-rw-r--r--src/drivers/soundwire/max98373/max98373.c2
-rw-r--r--src/drivers/spi/acpi/acpi.c2
-rw-r--r--src/drivers/uart/acpi/acpi.c2
-rw-r--r--src/drivers/usb/acpi/usb_acpi.c2
-rw-r--r--src/drivers/usb/hub/acpi.c2
-rw-r--r--src/drivers/wifi/generic/generic.c2
-rw-r--r--src/drivers/wwan/fm/acpi_fm350gl.c2
-rw-r--r--src/ec/51nb/npce985la0dx/npce985la0dx.c2
-rw-r--r--src/ec/clevo/it5570e/ec.c2
-rw-r--r--src/ec/compal/ene932/ec.c2
-rw-r--r--src/ec/dell/mec5035/mec5035.c2
-rw-r--r--src/ec/google/chromeec/audio_codec/audio_codec.c2
-rw-r--r--src/ec/google/chromeec/ec_lpc.c2
-rw-r--r--src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c2
-rw-r--r--src/ec/google/chromeec/mux/conn/conn.c2
-rw-r--r--src/ec/google/chromeec/mux/mux.c2
-rw-r--r--src/ec/google/wilco/chip.c2
-rw-r--r--src/ec/hp/kbc1126/ec.c2
-rw-r--r--src/ec/kontron/it8516e/ec.c2
-rw-r--r--src/ec/kontron/kempld/kempld.c2
-rw-r--r--src/ec/lenovo/h8/h8.c2
-rw-r--r--src/ec/lenovo/pmh7/pmh7.c2
-rw-r--r--src/ec/quanta/ene_kb3940q/ec.c2
-rw-r--r--src/ec/quanta/it8518/ec.c2
-rw-r--r--src/ec/roda/it8518/ec.c2
-rw-r--r--src/ec/smsc/mec1308/ec.c2
-rw-r--r--src/ec/starlabs/merlin/ite.c2
-rw-r--r--src/ec/starlabs/merlin/nuvoton.c2
-rw-r--r--src/include/device/device.h2
-rw-r--r--src/mainboard/emulation/qemu-i440fx/northbridge.c4
-rw-r--r--src/mainboard/supermicro/x10slm-f/mainboard.c2
-rw-r--r--src/northbridge/amd/pi/00730F01/northbridge.c2
-rw-r--r--src/northbridge/intel/e7505/northbridge.c2
-rw-r--r--src/northbridge/intel/gm45/northbridge.c2
-rw-r--r--src/northbridge/intel/haswell/northbridge.c2
-rw-r--r--src/northbridge/intel/i440bx/northbridge.c2
-rw-r--r--src/northbridge/intel/i945/northbridge.c2
-rw-r--r--src/northbridge/intel/ironlake/northbridge.c2
-rw-r--r--src/northbridge/intel/pineview/northbridge.c2
-rw-r--r--src/northbridge/intel/sandybridge/northbridge.c2
-rw-r--r--src/northbridge/intel/x4x/northbridge.c2
-rw-r--r--src/soc/amd/cezanne/chip.c2
-rw-r--r--src/soc/amd/genoa_poc/chip.c2
-rw-r--r--src/soc/amd/glinda/chip.c2
-rw-r--r--src/soc/amd/mendocino/chip.c2
-rw-r--r--src/soc/amd/phoenix/chip.c2
-rw-r--r--src/soc/amd/picasso/chip.c2
-rw-r--r--src/soc/amd/stoneyridge/chip.c2
-rw-r--r--src/soc/cavium/cn81xx/soc.c2
-rw-r--r--src/soc/cavium/common/pci/uart.c2
-rw-r--r--src/soc/intel/alderlake/chip.c2
-rw-r--r--src/soc/intel/apollolake/chip.c2
-rw-r--r--src/soc/intel/baytrail/chip.c2
-rw-r--r--src/soc/intel/braswell/chip.c2
-rw-r--r--src/soc/intel/broadwell/northbridge.c2
-rw-r--r--src/soc/intel/broadwell/pch/pch.c2
-rw-r--r--src/soc/intel/cannonlake/chip.c2
-rw-r--r--src/soc/intel/common/block/pcie/rtd3/rtd3.c2
-rw-r--r--src/soc/intel/common/block/uart/uart.c2
-rw-r--r--src/soc/intel/common/block/usb4/pcie.c2
-rw-r--r--src/soc/intel/denverton_ns/chip.c2
-rw-r--r--src/soc/intel/elkhartlake/chip.c2
-rw-r--r--src/soc/intel/jasperlake/chip.c2
-rw-r--r--src/soc/intel/meteorlake/chip.c2
-rw-r--r--src/soc/intel/skylake/chip.c2
-rw-r--r--src/soc/intel/tigerlake/chip.c2
-rw-r--r--src/soc/intel/xeon_sp/cpx/chip.c2
-rw-r--r--src/soc/intel/xeon_sp/skx/chip.c2
-rw-r--r--src/soc/intel/xeon_sp/spr/chip.c3
-rw-r--r--src/soc/mediatek/mt8173/soc.c2
-rw-r--r--src/soc/mediatek/mt8183/soc.c2
-rw-r--r--src/soc/mediatek/mt8186/soc.c2
-rw-r--r--src/soc/mediatek/mt8188/soc.c2
-rw-r--r--src/soc/mediatek/mt8192/soc.c2
-rw-r--r--src/soc/mediatek/mt8195/soc.c2
-rw-r--r--src/soc/nvidia/tegra124/soc.c2
-rw-r--r--src/soc/nvidia/tegra210/soc.c2
-rw-r--r--src/soc/qualcomm/ipq40xx/soc.c2
-rw-r--r--src/soc/qualcomm/ipq806x/soc.c2
-rw-r--r--src/soc/qualcomm/qcs405/soc.c2
-rw-r--r--src/soc/qualcomm/sc7180/soc.c2
-rw-r--r--src/soc/qualcomm/sc7280/soc.c2
-rw-r--r--src/soc/rockchip/rk3288/soc.c2
-rw-r--r--src/soc/rockchip/rk3399/soc.c4
-rw-r--r--src/soc/samsung/exynos5250/cpu.c2
-rw-r--r--src/soc/samsung/exynos5420/cpu.c2
-rw-r--r--src/soc/sifive/fu540/chip.c2
-rw-r--r--src/soc/ti/am335x/soc.c2
-rw-r--r--src/soc/ucb/riscv/chip.c2
-rw-r--r--src/southbridge/amd/pi/hudson/hudson.c2
-rw-r--r--src/southbridge/intel/bd82x6x/pch.c2
-rw-r--r--src/southbridge/intel/i82371eb/i82371eb.c2
-rw-r--r--src/southbridge/intel/i82801dx/i82801dx.c4
-rw-r--r--src/southbridge/intel/i82801gx/i82801gx.c2
-rw-r--r--src/southbridge/intel/i82801ix/i82801ix.c2
-rw-r--r--src/southbridge/intel/i82801jx/i82801jx.c2
-rw-r--r--src/southbridge/intel/i82870/pcibridge.c2
-rw-r--r--src/southbridge/intel/ibexpeak/pch.c2
-rw-r--r--src/southbridge/intel/lynxpoint/pch.c2
-rw-r--r--src/southbridge/ricoh/rl5c476/rl5c476.c2
-rw-r--r--src/southbridge/ti/pci1x2x/pci1x2x.c2
-rw-r--r--src/southbridge/ti/pci7420/cardbus.c2
-rw-r--r--src/superio/aspeed/ast2400/superio.c2
-rw-r--r--src/superio/common/generic.c2
-rw-r--r--src/superio/fintek/f71808a/superio.c2
-rw-r--r--src/superio/fintek/f71859/superio.c2
-rw-r--r--src/superio/fintek/f71863fg/superio.c2
-rw-r--r--src/superio/fintek/f71869ad/superio.c2
-rw-r--r--src/superio/fintek/f81803a/superio.c2
-rw-r--r--src/superio/fintek/f81865f/superio.c2
-rw-r--r--src/superio/fintek/f81866d/superio.c2
-rw-r--r--src/superio/ite/it8528e/superio.c2
-rw-r--r--src/superio/ite/it8613e/superio.c2
-rw-r--r--src/superio/ite/it8623e/superio.c2
-rw-r--r--src/superio/ite/it8712f/superio.c2
-rw-r--r--src/superio/ite/it8718f/superio.c2
-rw-r--r--src/superio/ite/it8720f/superio.c2
-rw-r--r--src/superio/ite/it8721f/superio.c2
-rw-r--r--src/superio/ite/it8728f/superio.c2
-rw-r--r--src/superio/ite/it8772f/superio.c2
-rw-r--r--src/superio/ite/it8783ef/superio.c2
-rw-r--r--src/superio/ite/it8784e/superio.c2
-rw-r--r--src/superio/ite/it8786e/superio.c2
-rw-r--r--src/superio/nsc/pc87382/superio.c2
-rw-r--r--src/superio/nsc/pc87384/superio.c2
-rw-r--r--src/superio/nsc/pc87392/superio.c2
-rw-r--r--src/superio/nsc/pc87417/superio.c2
-rw-r--r--src/superio/nuvoton/nct5104d/superio.c2
-rw-r--r--src/superio/nuvoton/nct5539d/superio.c2
-rw-r--r--src/superio/nuvoton/nct5572d/superio.c2
-rw-r--r--src/superio/nuvoton/nct6687d/superio.c2
-rw-r--r--src/superio/nuvoton/nct6776/superio.c2
-rw-r--r--src/superio/nuvoton/nct6779d/superio.c2
-rw-r--r--src/superio/nuvoton/nct6791d/superio.c2
-rw-r--r--src/superio/nuvoton/npcd378/superio.c2
-rw-r--r--src/superio/nuvoton/wpcm450/superio.c2
-rw-r--r--src/superio/renesas/m3885x/superio.c2
-rw-r--r--src/superio/smsc/fdc37n972/superio.c2
-rw-r--r--src/superio/smsc/kbc1100/superio.c2
-rw-r--r--src/superio/smsc/lpc47m10x/superio.c2
-rw-r--r--src/superio/smsc/lpc47m15x/superio.c2
-rw-r--r--src/superio/smsc/lpc47n217/superio.c2
-rw-r--r--src/superio/smsc/lpc47n227/superio.c2
-rw-r--r--src/superio/smsc/mec1308/superio.c2
-rw-r--r--src/superio/smsc/sch5545/superio.c2
-rw-r--r--src/superio/smsc/sch555x/ramstage.c2
-rw-r--r--src/superio/smsc/sio1036/superio.c2
-rw-r--r--src/superio/smsc/sio10n268/superio.c2
-rw-r--r--src/superio/smsc/smscsuperio/superio.c2
-rw-r--r--src/superio/winbond/w83627dhg/superio.c2
-rw-r--r--src/superio/winbond/w83627ehg/superio.c2
-rw-r--r--src/superio/winbond/w83627hf/superio.c2
-rw-r--r--src/superio/winbond/w83627thg/superio.c2
-rw-r--r--src/superio/winbond/w83627uhg/superio.c2
-rw-r--r--src/superio/winbond/w83667hg-a/superio.c2
-rw-r--r--src/superio/winbond/w83977tf/superio.c2
-rw-r--r--src/superio/winbond/wpcd376i/superio.c2
-rw-r--r--src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c2
236 files changed, 239 insertions, 240 deletions
diff --git a/src/cpu/amd/pi/00730F01/chip_name.c b/src/cpu/amd/pi/00730F01/chip_name.c
index d5955cc3be03..592fcc0dffc0 100644
--- a/src/cpu/amd/pi/00730F01/chip_name.c
+++ b/src/cpu/amd/pi/00730F01/chip_name.c
@@ -3,5 +3,5 @@
#include <device/device.h>
struct chip_operations cpu_amd_pi_00730F01_ops = {
- CHIP_NAME("AMD CPU Family 16h Model 30h-3Fh")
+ .name = "AMD CPU Family 16h Model 30h-3Fh",
};
diff --git a/src/cpu/intel/haswell/acpi.c b/src/cpu/intel/haswell/acpi.c
index 3727d8a065b1..c8f6a07a006b 100644
--- a/src/cpu/intel/haswell/acpi.c
+++ b/src/cpu/intel/haswell/acpi.c
@@ -364,5 +364,5 @@ void generate_cpu_entries(const struct device *device)
}
struct chip_operations cpu_intel_haswell_ops = {
- CHIP_NAME("Intel Haswell CPU")
+ .name = "Intel Haswell CPU",
};
diff --git a/src/cpu/intel/model_1067x/model_1067x_init.c b/src/cpu/intel/model_1067x/model_1067x_init.c
index 315e7c36fcfb..c2019ab13b4b 100644
--- a/src/cpu/intel/model_1067x/model_1067x_init.c
+++ b/src/cpu/intel/model_1067x/model_1067x_init.c
@@ -277,5 +277,5 @@ static const struct cpu_driver driver __cpu_driver = {
};
struct chip_operations cpu_intel_model_1067x_ops = {
- CHIP_NAME("Intel Penryn CPU")
+ .name = "Intel Penryn CPU",
};
diff --git a/src/cpu/intel/model_2065x/acpi.c b/src/cpu/intel/model_2065x/acpi.c
index d8fef628b810..2dceba1a1d29 100644
--- a/src/cpu/intel/model_2065x/acpi.c
+++ b/src/cpu/intel/model_2065x/acpi.c
@@ -242,5 +242,5 @@ void generate_cpu_entries(const struct device *device)
}
struct chip_operations cpu_intel_model_2065x_ops = {
- CHIP_NAME("Intel Arrandale CPU")
+ .name = "Intel Arrandale CPU",
};
diff --git a/src/cpu/intel/model_206ax/acpi.c b/src/cpu/intel/model_206ax/acpi.c
index f3bd67be4bec..75e6755555ab 100644
--- a/src/cpu/intel/model_206ax/acpi.c
+++ b/src/cpu/intel/model_206ax/acpi.c
@@ -380,5 +380,5 @@ void generate_cpu_entries(const struct device *device)
}
struct chip_operations cpu_intel_model_206ax_ops = {
- CHIP_NAME("Intel SandyBridge/IvyBridge CPU")
+ .name = "Intel SandyBridge/IvyBridge CPU",
};
diff --git a/src/cpu/intel/slot_1/slot_1.c b/src/cpu/intel/slot_1/slot_1.c
index 0f5b157ecab8..ed8e88c0a4fa 100644
--- a/src/cpu/intel/slot_1/slot_1.c
+++ b/src/cpu/intel/slot_1/slot_1.c
@@ -3,5 +3,5 @@
#include <device/device.h>
struct chip_operations cpu_intel_slot_1_ops = {
- CHIP_NAME("Slot 1 CPU")
+ .name = "Slot 1 CPU",
};
diff --git a/src/cpu/power9/power9.c b/src/cpu/power9/power9.c
index fd33ff219bba..4d68a5ffdc5e 100644
--- a/src/cpu/power9/power9.c
+++ b/src/cpu/power9/power9.c
@@ -16,5 +16,5 @@ static const struct cpu_driver driver __cpu_driver = {
};
struct chip_operations cpu_power8_qemu_ops = {
- CHIP_NAME("POWER9 CPU")
+ .name = "POWER9 CPU",
};
diff --git a/src/cpu/qemu-power8/qemu.c b/src/cpu/qemu-power8/qemu.c
index 2da3c9f9b357..8cde9b35ba93 100644
--- a/src/cpu/qemu-power8/qemu.c
+++ b/src/cpu/qemu-power8/qemu.c
@@ -21,5 +21,5 @@ static const struct cpu_driver driver __cpu_driver = {
};
struct chip_operations cpu_power8_qemu_ops = {
- CHIP_NAME("QEMU POWER8 CPU")
+ .name = "QEMU POWER8 CPU",
};
diff --git a/src/cpu/qemu-x86/qemu.c b/src/cpu/qemu-x86/qemu.c
index 06696c803f7e..289854a8f203 100644
--- a/src/cpu/qemu-x86/qemu.c
+++ b/src/cpu/qemu-x86/qemu.c
@@ -22,5 +22,5 @@ static const struct cpu_driver driver __cpu_driver = {
};
struct chip_operations cpu_qemu_x86_ops = {
- CHIP_NAME("QEMU x86 CPU")
+ .name = "QEMU x86 CPU",
};
diff --git a/src/drivers/acpi/thermal_zone/thermal_zone.c b/src/drivers/acpi/thermal_zone/thermal_zone.c
index 192e2e6599e8..34fa1b8c7a32 100644
--- a/src/drivers/acpi/thermal_zone/thermal_zone.c
+++ b/src/drivers/acpi/thermal_zone/thermal_zone.c
@@ -126,6 +126,6 @@ static void thermal_zone_enable_dev(struct device *dev)
}
struct chip_operations drivers_acpi_thermal_zone_ops = {
- CHIP_NAME("ACPI Thermal Zone")
+ .name = "ACPI Thermal Zone",
.enable_dev = thermal_zone_enable_dev,
};
diff --git a/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c b/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c
index 7bd256d97b78..16ae48dd4b2a 100644
--- a/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c
+++ b/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c
@@ -95,6 +95,6 @@ static void i2s_machine_dev_enable(struct device *dev)
}
struct chip_operations drivers_amd_i2s_machine_dev_ops = {
- CHIP_NAME("AMD I2S Machine Device")
+ .name = "AMD I2S Machine Device",
.enable_dev = i2s_machine_dev_enable
};
diff --git a/src/drivers/crb/tis.c b/src/drivers/crb/tis.c
index 2c9128e5d735..a5d7dcc7edd8 100644
--- a/src/drivers/crb/tis.c
+++ b/src/drivers/crb/tis.c
@@ -206,6 +206,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations drivers_crb_ops = {
- CHIP_NAME("CRB TPM")
+ .name = "CRB TPM",
.enable_dev = enable_dev
};
diff --git a/src/drivers/generic/adau7002/adau7002.c b/src/drivers/generic/adau7002/adau7002.c
index 63510cd67974..5917f6956fe3 100644
--- a/src/drivers/generic/adau7002/adau7002.c
+++ b/src/drivers/generic/adau7002/adau7002.c
@@ -67,6 +67,6 @@ static void adau7002_enable(struct device *dev)
}
struct chip_operations drivers_generic_adau7002_ops = {
- CHIP_NAME("Analog Digital DMIC")
+ .name = "Analog Digital DMIC",
.enable_dev = adau7002_enable
};
diff --git a/src/drivers/generic/alc1015/alc1015.c b/src/drivers/generic/alc1015/alc1015.c
index ca685d6afb19..7245f0c5ff93 100644
--- a/src/drivers/generic/alc1015/alc1015.c
+++ b/src/drivers/generic/alc1015/alc1015.c
@@ -70,6 +70,6 @@ static void alc1015_enable(struct device *dev)
}
struct chip_operations drivers_generic_alc1015_ops = {
- CHIP_NAME("ASoC RT1015P Amplifier driver")
+ .name = "ASoC RT1015P Amplifier driver",
.enable_dev = alc1015_enable
};
diff --git a/src/drivers/generic/bayhub/bh720.c b/src/drivers/generic/bayhub/bh720.c
index 02abc222bdb3..5104c35b6b41 100644
--- a/src/drivers/generic/bayhub/bh720.c
+++ b/src/drivers/generic/bayhub/bh720.c
@@ -166,5 +166,5 @@ static const struct pci_driver bayhub_bh720 __pci_driver = {
};
struct chip_operations drivers_generic_bayhub_ops = {
- CHIP_NAME("BayHub Technology BH720 PCI to eMMC 5.0 HS200 bridge")
+ .name = "BayHub Technology BH720 PCI to eMMC 5.0 HS200 bridge",
};
diff --git a/src/drivers/generic/bayhub_lv2/lv2.c b/src/drivers/generic/bayhub_lv2/lv2.c
index b8d4113994a1..b2b85e1da5d3 100644
--- a/src/drivers/generic/bayhub_lv2/lv2.c
+++ b/src/drivers/generic/bayhub_lv2/lv2.c
@@ -81,5 +81,5 @@ static const struct pci_driver bayhub_lv2 __pci_driver = {
};
struct chip_operations drivers_generic_bayhub_lv2_ops = {
- CHIP_NAME("BayHub Technology LV2 PCIe to SD bridge")
+ .name = "BayHub Technology LV2 PCIe to SD bridge",
};
diff --git a/src/drivers/generic/gpio_keys/gpio_keys.c b/src/drivers/generic/gpio_keys/gpio_keys.c
index c0fd8de381bd..28e5be571978 100644
--- a/src/drivers/generic/gpio_keys/gpio_keys.c
+++ b/src/drivers/generic/gpio_keys/gpio_keys.c
@@ -120,6 +120,6 @@ static void gpio_keys_enable(struct device *dev)
}
struct chip_operations drivers_generic_gpio_keys_ops = {
- CHIP_NAME("GPIO Keys")
+ .name = "GPIO Keys",
.enable_dev = gpio_keys_enable
};
diff --git a/src/drivers/generic/max98357a/max98357a.c b/src/drivers/generic/max98357a/max98357a.c
index 7a18b986294f..8ce80f1b45b7 100644
--- a/src/drivers/generic/max98357a/max98357a.c
+++ b/src/drivers/generic/max98357a/max98357a.c
@@ -93,6 +93,6 @@ static void max98357a_enable(struct device *dev)
}
struct chip_operations drivers_generic_max98357a_ops = {
- CHIP_NAME("Maxim Integrated 98357A Amplifier")
+ .name = "Maxim Integrated 98357A Amplifier",
.enable_dev = max98357a_enable
};
diff --git a/src/drivers/generic/nau8315/nau8315.c b/src/drivers/generic/nau8315/nau8315.c
index ac2bfd1b55ad..8fe4e1fa09af 100644
--- a/src/drivers/generic/nau8315/nau8315.c
+++ b/src/drivers/generic/nau8315/nau8315.c
@@ -71,6 +71,6 @@ static void nau8315_enable(struct device *dev)
}
struct chip_operations drivers_generic_nau8315_ops = {
- CHIP_NAME("Nuvoton NAU8315 Amplifier")
+ .name = "Nuvoton NAU8315 Amplifier",
.enable_dev = nau8315_enable
};
diff --git a/src/drivers/genesyslogic/gl9750/gl9750.c b/src/drivers/genesyslogic/gl9750/gl9750.c
index 8c40c49d4fe8..92d96be5e38a 100644
--- a/src/drivers/genesyslogic/gl9750/gl9750.c
+++ b/src/drivers/genesyslogic/gl9750/gl9750.c
@@ -50,5 +50,5 @@ static const struct pci_driver genesyslogic_gl9750 __pci_driver = {
};
struct chip_operations drivers_generic_genesyslogic_gl9750_ops = {
- CHIP_NAME("Genesys Logic GL9750")
+ .name = "Genesys Logic GL9750",
};
diff --git a/src/drivers/genesyslogic/gl9755/gl9755.c b/src/drivers/genesyslogic/gl9755/gl9755.c
index bf4831c504ff..6b8dd7db23a6 100644
--- a/src/drivers/genesyslogic/gl9755/gl9755.c
+++ b/src/drivers/genesyslogic/gl9755/gl9755.c
@@ -58,5 +58,5 @@ static const struct pci_driver genesyslogic_gl9755 __pci_driver = {
};
struct chip_operations drivers_generic_genesyslogic_gl9755_ops = {
- CHIP_NAME("Genesys Logic GL9755")
+ .name = "Genesys Logic GL9755",
};
diff --git a/src/drivers/genesyslogic/gl9763e/gl9763e.c b/src/drivers/genesyslogic/gl9763e/gl9763e.c
index a4842e81c353..140535d8a1a1 100644
--- a/src/drivers/genesyslogic/gl9763e/gl9763e.c
+++ b/src/drivers/genesyslogic/gl9763e/gl9763e.c
@@ -66,5 +66,5 @@ static const struct pci_driver genesyslogic_gl9763e __pci_driver = {
};
struct chip_operations drivers_generic_genesyslogic_ops = {
- CHIP_NAME("Genesys Logic GL9763E")
+ .name = "Genesys Logic GL9763E",
};
diff --git a/src/drivers/gfx/generic/generic.c b/src/drivers/gfx/generic/generic.c
index 0ab16767ebef..e3ae62f588d0 100644
--- a/src/drivers/gfx/generic/generic.c
+++ b/src/drivers/gfx/generic/generic.c
@@ -160,6 +160,6 @@ static void gfx_enable(struct device *dev)
}
struct chip_operations drivers_gfx_generic_ops = {
- CHIP_NAME("Generic Graphics Device")
+ .name = "Generic Graphics Device",
.enable_dev = gfx_enable
};
diff --git a/src/drivers/i2c/at24rf08c/at24rf08c.c b/src/drivers/i2c/at24rf08c/at24rf08c.c
index ce6aa8667bf3..99ea7a47f0ef 100644
--- a/src/drivers/i2c/at24rf08c/at24rf08c.c
+++ b/src/drivers/i2c/at24rf08c/at24rf08c.c
@@ -41,6 +41,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations drivers_i2c_at24rf08c_ops = {
- CHIP_NAME("AT24RF08C")
+ .name = "AT24RF08C",
.enable_dev = enable_dev,
};
diff --git a/src/drivers/i2c/ck505/ck505.c b/src/drivers/i2c/ck505/ck505.c
index 58eaec657a4d..db660fe67ff7 100644
--- a/src/drivers/i2c/ck505/ck505.c
+++ b/src/drivers/i2c/ck505/ck505.c
@@ -55,6 +55,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations drivers_i2c_ck505_ops = {
- CHIP_NAME("CK505 Clock generator")
+ .name = "CK505 Clock generator",
.enable_dev = enable_dev,
};
diff --git a/src/drivers/i2c/cs35l53/cs35l53.c b/src/drivers/i2c/cs35l53/cs35l53.c
index 9857203b8c20..578e272b59ce 100644
--- a/src/drivers/i2c/cs35l53/cs35l53.c
+++ b/src/drivers/i2c/cs35l53/cs35l53.c
@@ -145,6 +145,6 @@ static void cs35l53_enable(struct device *dev)
}
struct chip_operations drivers_i2c_cs35l53_ops = {
- CHIP_NAME("Cirrus Logic CS35L53 Audio Codec")
+ .name = "Cirrus Logic CS35L53 Audio Codec",
.enable_dev = cs35l53_enable
};
diff --git a/src/drivers/i2c/cs42l42/cs42l42.c b/src/drivers/i2c/cs42l42/cs42l42.c
index dcf83e004820..8ccfd77f88a8 100644
--- a/src/drivers/i2c/cs42l42/cs42l42.c
+++ b/src/drivers/i2c/cs42l42/cs42l42.c
@@ -118,6 +118,6 @@ static void cs42l42_enable(struct device *dev)
}
struct chip_operations drivers_i2c_cs42l42_ops = {
- CHIP_NAME("Cirrus Logic CS42l42 Audio Codec")
+ .name = "Cirrus Logic CS42l42 Audio Codec",
.enable_dev = cs42l42_enable
};
diff --git a/src/drivers/i2c/da7219/da7219.c b/src/drivers/i2c/da7219/da7219.c
index 80c52721f11e..1a149ca9b6c3 100644
--- a/src/drivers/i2c/da7219/da7219.c
+++ b/src/drivers/i2c/da7219/da7219.c
@@ -110,6 +110,6 @@ static void da7219_enable(struct device *dev)
}
struct chip_operations drivers_i2c_da7219_ops = {
- CHIP_NAME("Dialog Semiconductor DA7219 Audio Codec")
+ .name = "Dialog Semiconductor DA7219 Audio Codec",
.enable_dev = da7219_enable
};
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c
index 1a3ec40c7a50..2a4acb242f48 100644
--- a/src/drivers/i2c/generic/generic.c
+++ b/src/drivers/i2c/generic/generic.c
@@ -229,6 +229,6 @@ static void i2c_generic_enable(struct device *dev)
}
struct chip_operations drivers_i2c_generic_ops = {
- CHIP_NAME("I2C Device")
+ .name = "I2C Device",
.enable_dev = i2c_generic_enable
};
diff --git a/src/drivers/i2c/gpiomux/bus/bus.c b/src/drivers/i2c/gpiomux/bus/bus.c
index 2bdb1030161e..a6c603a8f12f 100644
--- a/src/drivers/i2c/gpiomux/bus/bus.c
+++ b/src/drivers/i2c/gpiomux/bus/bus.c
@@ -55,6 +55,6 @@ static void i2c_gpiomux_bus_enable(struct device *dev)
}
struct chip_operations drivers_i2c_gpiomux_bus_ops = {
- CHIP_NAME("I2C GPIO MUX Bus Device")
+ .name = "I2C GPIO MUX Bus Device",
.enable_dev = i2c_gpiomux_bus_enable
};
diff --git a/src/drivers/i2c/gpiomux/mux/mux.c b/src/drivers/i2c/gpiomux/mux/mux.c
index fa1b18cde218..5f79fe575851 100644
--- a/src/drivers/i2c/gpiomux/mux/mux.c
+++ b/src/drivers/i2c/gpiomux/mux/mux.c
@@ -77,6 +77,6 @@ static void i2c_gpiomux_mux_enable(struct device *dev)
}
struct chip_operations drivers_i2c_gpiomux_mux_ops = {
- CHIP_NAME("I2C GPIO MUX Device")
+ .name = "I2C GPIO MUX Device",
.enable_dev = i2c_gpiomux_mux_enable
};
diff --git a/src/drivers/i2c/hid/hid.c b/src/drivers/i2c/hid/hid.c
index 8705c1e34a48..fb3a439a53b5 100644
--- a/src/drivers/i2c/hid/hid.c
+++ b/src/drivers/i2c/hid/hid.c
@@ -90,6 +90,6 @@ static void i2c_hid_enable(struct device *dev)
}
struct chip_operations drivers_i2c_hid_ops = {
- CHIP_NAME("I2C HID Device")
+ .name = "I2C HID Device",
.enable_dev = i2c_hid_enable
};
diff --git a/src/drivers/i2c/lm96000/lm96000.c b/src/drivers/i2c/lm96000/lm96000.c
index a2b7a21a2e14..f17d8c095546 100644
--- a/src/drivers/i2c/lm96000/lm96000.c
+++ b/src/drivers/i2c/lm96000/lm96000.c
@@ -215,6 +215,6 @@ static void lm96000_enable(struct device *const dev)
}
struct chip_operations drivers_i2c_lm96000_ops = {
- CHIP_NAME("LM96000")
+ .name = "LM96000",
.enable_dev = lm96000_enable
};
diff --git a/src/drivers/i2c/max98373/max98373.c b/src/drivers/i2c/max98373/max98373.c
index eb5590d3e227..37a886432597 100644
--- a/src/drivers/i2c/max98373/max98373.c
+++ b/src/drivers/i2c/max98373/max98373.c
@@ -90,6 +90,6 @@ static void max98373_enable(struct device *dev)
}
struct chip_operations drivers_i2c_max98373_ops = {
- CHIP_NAME("Maxim MAX98373 Codec")
+ .name = "Maxim MAX98373 Codec",
.enable_dev = max98373_enable
};
diff --git a/src/drivers/i2c/max98390/max98390.c b/src/drivers/i2c/max98390/max98390.c
index 11acd228293a..f4c4a70b92e1 100644
--- a/src/drivers/i2c/max98390/max98390.c
+++ b/src/drivers/i2c/max98390/max98390.c
@@ -129,6 +129,6 @@ static void max98390_enable(struct device *dev)
}
struct chip_operations drivers_i2c_max98390_ops = {
- CHIP_NAME("Maxim MAX98390 Codec")
+ .name = "Maxim MAX98390 Codec",
.enable_dev = max98390_enable
};
diff --git a/src/drivers/i2c/max98396/max98396.c b/src/drivers/i2c/max98396/max98396.c
index 5288c4f4b124..6ad3931b5050 100644
--- a/src/drivers/i2c/max98396/max98396.c
+++ b/src/drivers/i2c/max98396/max98396.c
@@ -96,6 +96,6 @@ static void max98396_enable(struct device *dev)
}
struct chip_operations drivers_i2c_max98396_ops = {
- CHIP_NAME("Maxim MAX98396 Codec")
+ .name = "Maxim MAX98396 Codec",
.enable_dev = max98396_enable
};
diff --git a/src/drivers/i2c/max98927/max98927.c b/src/drivers/i2c/max98927/max98927.c
index e80f569f1d2c..9935d10ff082 100644
--- a/src/drivers/i2c/max98927/max98927.c
+++ b/src/drivers/i2c/max98927/max98927.c
@@ -86,6 +86,6 @@ static void max98927_enable(struct device *dev)
}
struct chip_operations drivers_i2c_max98927_ops = {
- CHIP_NAME("Maxim MAX98927 Codec")
+ .name = "Maxim MAX98927 Codec",
.enable_dev = max98927_enable
};
diff --git a/src/drivers/i2c/nau8825/nau8825.c b/src/drivers/i2c/nau8825/nau8825.c
index 060df7c775dd..9e82538ff4bd 100644
--- a/src/drivers/i2c/nau8825/nau8825.c
+++ b/src/drivers/i2c/nau8825/nau8825.c
@@ -103,6 +103,6 @@ static void nau8825_enable(struct device *dev)
}
struct chip_operations drivers_i2c_nau8825_ops = {
- CHIP_NAME("Nuvoton NAU8825 Codec")
+ .name = "Nuvoton NAU8825 Codec",
.enable_dev = nau8825_enable
};
diff --git a/src/drivers/i2c/nct7802y/nct7802y.c b/src/drivers/i2c/nct7802y/nct7802y.c
index bb52a3fd0bdf..f313ef7f10fe 100644
--- a/src/drivers/i2c/nct7802y/nct7802y.c
+++ b/src/drivers/i2c/nct7802y/nct7802y.c
@@ -45,6 +45,6 @@ static void nct7802y_enable(struct device *const dev)
}
struct chip_operations drivers_i2c_nct7802y_ops = {
- CHIP_NAME("NCT7802Y")
+ .name = "NCT7802Y",
.enable_dev = nct7802y_enable
};
diff --git a/src/drivers/i2c/pca9538/pca9538.c b/src/drivers/i2c/pca9538/pca9538.c
index 1658b9e37859..f8933ec10558 100644
--- a/src/drivers/i2c/pca9538/pca9538.c
+++ b/src/drivers/i2c/pca9538/pca9538.c
@@ -49,6 +49,6 @@ static void pca9538_enable(struct device *dev)
}
struct chip_operations drivers_i2c_pca9538_ops = {
- CHIP_NAME("PCA9538")
+ .name = "PCA9538",
.enable_dev = pca9538_enable
};
diff --git a/src/drivers/i2c/pcf8523/pcf8523.c b/src/drivers/i2c/pcf8523/pcf8523.c
index 8d368b29a16e..717bc90bb220 100644
--- a/src/drivers/i2c/pcf8523/pcf8523.c
+++ b/src/drivers/i2c/pcf8523/pcf8523.c
@@ -129,6 +129,6 @@ static void pcf8523_enable(struct device *dev)
}
struct chip_operations drivers_i2c_pcf8523_ops = {
- CHIP_NAME("PCF8523")
+ .name = "PCF8523",
.enable_dev = pcf8523_enable
};
diff --git a/src/drivers/i2c/pi608gp/pi608gp.c b/src/drivers/i2c/pi608gp/pi608gp.c
index 2c61a80b0055..62d462eec89b 100644
--- a/src/drivers/i2c/pi608gp/pi608gp.c
+++ b/src/drivers/i2c/pi608gp/pi608gp.c
@@ -188,5 +188,5 @@ struct device_operations pi608gp_ops = {
};
struct chip_operations drivers_i2c_pi608gp_ops = {
- CHIP_NAME("PI7C9X2G608GP")
+ .name = "PI7C9X2G608GP",
};
diff --git a/src/drivers/i2c/ptn3460/ptn3460.c b/src/drivers/i2c/ptn3460/ptn3460.c
index 7dee2222a05a..93acb1834e98 100644
--- a/src/drivers/i2c/ptn3460/ptn3460.c
+++ b/src/drivers/i2c/ptn3460/ptn3460.c
@@ -148,7 +148,7 @@ static void ptn3460_enable(struct device *dev)
}
struct chip_operations drivers_i2c_ptn3460_ops = {
- CHIP_NAME("PTN3460")
+ .name = "PTN3460",
.enable_dev = ptn3460_enable
};
diff --git a/src/drivers/i2c/rt1011/rt1011.c b/src/drivers/i2c/rt1011/rt1011.c
index 9a21748e53e7..bf62a6f06d24 100644
--- a/src/drivers/i2c/rt1011/rt1011.c
+++ b/src/drivers/i2c/rt1011/rt1011.c
@@ -103,6 +103,6 @@ static void rt1011_enable(struct device *dev)
}
struct chip_operations drivers_i2c_rt1011_ops = {
- CHIP_NAME("Realtek RT1011 Codec")
+ .name = "Realtek RT1011 Codec",
.enable_dev = rt1011_enable
};
diff --git a/src/drivers/i2c/rt5663/rt5663.c b/src/drivers/i2c/rt5663/rt5663.c
index 9949566c0487..e2341ddf13a3 100644
--- a/src/drivers/i2c/rt5663/rt5663.c
+++ b/src/drivers/i2c/rt5663/rt5663.c
@@ -84,6 +84,6 @@ static void rt5663_enable(struct device *dev)
}
struct chip_operations drivers_i2c_rt5663_ops = {
- CHIP_NAME("Realtek RT5663 Codec")
+ .name = "Realtek RT5663 Codec",
.enable_dev = rt5663_enable
};
diff --git a/src/drivers/i2c/rtd2132/rtd2132.c b/src/drivers/i2c/rtd2132/rtd2132.c
index 41dd8879191e..82b032e9412b 100644
--- a/src/drivers/i2c/rtd2132/rtd2132.c
+++ b/src/drivers/i2c/rtd2132/rtd2132.c
@@ -235,6 +235,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations drivers_i2c_rtd2132_ops = {
- CHIP_NAME("Realtek RTD2132 LVDS Bridge")
+ .name = "Realtek RTD2132 LVDS Bridge",
.enable_dev = enable_dev,
};
diff --git a/src/drivers/i2c/rv3028c7/rv3028c7.c b/src/drivers/i2c/rv3028c7/rv3028c7.c
index 87cbc247852a..0a1e4b6872d9 100644
--- a/src/drivers/i2c/rv3028c7/rv3028c7.c
+++ b/src/drivers/i2c/rv3028c7/rv3028c7.c
@@ -251,6 +251,6 @@ static void rtc_enable(struct device *dev)
}
struct chip_operations drivers_i2c_rv3028c7_ops = {
- CHIP_NAME("RV-3028-C7")
+ .name = "RV-3028-C7",
.enable_dev = rtc_enable
};
diff --git a/src/drivers/i2c/rx6110sa/rx6110sa.c b/src/drivers/i2c/rx6110sa/rx6110sa.c
index 02b3d9f91bc8..ce5051d755a6 100644
--- a/src/drivers/i2c/rx6110sa/rx6110sa.c
+++ b/src/drivers/i2c/rx6110sa/rx6110sa.c
@@ -239,6 +239,6 @@ static void rx6110sa_enable(struct device *dev)
}
struct chip_operations drivers_i2c_rx6110sa_ops = {
- CHIP_NAME("RX6110 SA")
+ .name = "RX6110 SA",
.enable_dev = rx6110sa_enable
};
diff --git a/src/drivers/i2c/sx9310/sx9310.c b/src/drivers/i2c/sx9310/sx9310.c
index 68aea6c80cf4..50946081bbcb 100644
--- a/src/drivers/i2c/sx9310/sx9310.c
+++ b/src/drivers/i2c/sx9310/sx9310.c
@@ -131,6 +131,6 @@ static void i2c_sx9310_enable(struct device *dev)
}
struct chip_operations drivers_i2c_sx9310_ops = {
- CHIP_NAME(I2C_SX9310_ACPI_NAME)
+ .name = I2C_SX9310_ACPI_NAME,
.enable_dev = i2c_sx9310_enable
};
diff --git a/src/drivers/i2c/sx9324/sx9324.c b/src/drivers/i2c/sx9324/sx9324.c
index 367849144f2a..05aca00b3588 100644
--- a/src/drivers/i2c/sx9324/sx9324.c
+++ b/src/drivers/i2c/sx9324/sx9324.c
@@ -115,6 +115,6 @@ static void i2c_sx9324_enable(struct device *dev)
}
struct chip_operations drivers_i2c_sx9324_ops = {
- CHIP_NAME(I2C_SX9324_CHIP_NAME)
+ .name = I2C_SX9324_CHIP_NAME,
.enable_dev = i2c_sx9324_enable
};
diff --git a/src/drivers/i2c/sx9360/sx9360.c b/src/drivers/i2c/sx9360/sx9360.c
index 9ea4c8b90c27..c9de0de8605a 100644
--- a/src/drivers/i2c/sx9360/sx9360.c
+++ b/src/drivers/i2c/sx9360/sx9360.c
@@ -102,6 +102,6 @@ static void i2c_sx9360_enable(struct device *dev)
}
struct chip_operations drivers_i2c_sx9360_ops = {
- CHIP_NAME(I2C_SX9360_CHIP_NAME)
+ .name = I2C_SX9360_CHIP_NAME,
.enable_dev = i2c_sx9360_enable
};
diff --git a/src/drivers/i2c/tas5825m/tas5825m.c b/src/drivers/i2c/tas5825m/tas5825m.c
index 39e5575f1ed3..9f14059a8e68 100644
--- a/src/drivers/i2c/tas5825m/tas5825m.c
+++ b/src/drivers/i2c/tas5825m/tas5825m.c
@@ -75,6 +75,6 @@ static void tas5825m_enable_dev(struct device *dev)
}
struct chip_operations drivers_i2c_tas5825m_ops = {
- CHIP_NAME("TI TAS5825M Amplifier")
+ .name = "TI TAS5825M Amplifier",
.enable_dev = tas5825m_enable_dev,
};
diff --git a/src/drivers/i2c/tpm/chip.c b/src/drivers/i2c/tpm/chip.c
index 07052f6f0dcc..a1d7389a0cf0 100644
--- a/src/drivers/i2c/tpm/chip.c
+++ b/src/drivers/i2c/tpm/chip.c
@@ -95,6 +95,6 @@ static void i2c_tpm_enable(struct device *dev)
}
struct chip_operations drivers_i2c_tpm_ops = {
- CHIP_NAME("I2C TPM")
+ .name = "I2C TPM",
.enable_dev = i2c_tpm_enable
};
diff --git a/src/drivers/intel/dptf/dptf.c b/src/drivers/intel/dptf/dptf.c
index 71a4ec340d6e..bceb0dea4a3f 100644
--- a/src/drivers/intel/dptf/dptf.c
+++ b/src/drivers/intel/dptf/dptf.c
@@ -636,6 +636,6 @@ static void dptf_enable_dev(struct device *dev)
}
struct chip_operations drivers_intel_dptf_ops = {
- CHIP_NAME("Intel DPTF")
+ .name = "Intel DPTF",
.enable_dev = dptf_enable_dev,
};
diff --git a/src/drivers/intel/ish/ish.c b/src/drivers/intel/ish/ish.c
index 97116320be03..6dba46adc71d 100644
--- a/src/drivers/intel/ish/ish.c
+++ b/src/drivers/intel/ish/ish.c
@@ -97,6 +97,6 @@ static const struct pci_driver ish_intel_driver __pci_driver = {
};
struct chip_operations drivers_intel_ish_ops = {
- CHIP_NAME("Intel ISH Chip")
+ .name = "Intel ISH Chip",
.enable_dev = intel_ish_enable,
};
diff --git a/src/drivers/intel/mipi_camera/camera.c b/src/drivers/intel/mipi_camera/camera.c
index 00c85a7010ca..77c86eaeb648 100644
--- a/src/drivers/intel/mipi_camera/camera.c
+++ b/src/drivers/intel/mipi_camera/camera.c
@@ -1033,6 +1033,6 @@ static void camera_enable(struct device *dev)
}
struct chip_operations drivers_intel_mipi_camera_ops = {
- CHIP_NAME("Intel MIPI Camera Device")
+ .name = "Intel MIPI Camera Device",
.enable_dev = camera_enable
};
diff --git a/src/drivers/intel/pmc_mux/conn/conn.c b/src/drivers/intel/pmc_mux/conn/conn.c
index de8f2be30639..c2c719991be8 100644
--- a/src/drivers/intel/pmc_mux/conn/conn.c
+++ b/src/drivers/intel/pmc_mux/conn/conn.c
@@ -153,7 +153,7 @@ static void conn_enable(struct device *dev)
}
struct chip_operations drivers_intel_pmc_mux_conn_ops = {
- CHIP_NAME("Intel PMC MUX CONN Driver")
+ .name = "Intel PMC MUX CONN Driver",
.enable_dev = conn_enable,
};
diff --git a/src/drivers/intel/pmc_mux/mux.c b/src/drivers/intel/pmc_mux/mux.c
index e2099152a651..64669f67a50d 100644
--- a/src/drivers/intel/pmc_mux/mux.c
+++ b/src/drivers/intel/pmc_mux/mux.c
@@ -43,6 +43,6 @@ static void mux_enable(struct device *dev)
}
struct chip_operations drivers_intel_pmc_mux_ops = {
- CHIP_NAME("Intel PMC MUX Driver")
+ .name = "Intel PMC MUX Driver",
.enable_dev = mux_enable,
};
diff --git a/src/drivers/intel/soundwire/soundwire.c b/src/drivers/intel/soundwire/soundwire.c
index c7e84a533983..f9421fc81c0b 100644
--- a/src/drivers/intel/soundwire/soundwire.c
+++ b/src/drivers/intel/soundwire/soundwire.c
@@ -94,6 +94,6 @@ static void intel_soundwire_enable(struct device *dev)
}
struct chip_operations drivers_intel_soundwire_ops = {
- CHIP_NAME("Intel SoundWire Controller")
+ .name = "Intel SoundWire Controller",
.enable_dev = intel_soundwire_enable
};
diff --git a/src/drivers/intel/usb4/retimer/retimer.c b/src/drivers/intel/usb4/retimer/retimer.c
index 7fb600d879b3..970413904b56 100644
--- a/src/drivers/intel/usb4/retimer/retimer.c
+++ b/src/drivers/intel/usb4/retimer/retimer.c
@@ -460,7 +460,7 @@ static void usb4_retimer_enable(struct device *dev)
}
struct chip_operations drivers_intel_usb4_retimer_ops = {
- CHIP_NAME("Intel USB4 Retimer")
+ .name = "Intel USB4 Retimer",
.enable_dev = usb4_retimer_enable
};
diff --git a/src/drivers/ipmi/ipmi_kcs_ops.c b/src/drivers/ipmi/ipmi_kcs_ops.c
index 2e5378f07a8c..69db489b96a4 100644
--- a/src/drivers/ipmi/ipmi_kcs_ops.c
+++ b/src/drivers/ipmi/ipmi_kcs_ops.c
@@ -360,6 +360,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations drivers_ipmi_ops = {
- CHIP_NAME("IPMI KCS")
+ .name = "IPMI KCS",
.enable_dev = enable_dev,
};
diff --git a/src/drivers/ipmi/ocp/ipmi_ocp.c b/src/drivers/ipmi/ocp/ipmi_ocp.c
index e75edca6593a..0f003aff27cc 100644
--- a/src/drivers/ipmi/ocp/ipmi_ocp.c
+++ b/src/drivers/ipmi/ocp/ipmi_ocp.c
@@ -95,6 +95,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations drivers_ipmi_ocp_ops = {
- CHIP_NAME("IPMI OCP")
+ .name = "IPMI OCP",
.enable_dev = enable_dev,
};
diff --git a/src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c b/src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c
index 7a5e20d8684a..1fda1fd7eae6 100644
--- a/src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c
+++ b/src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c
@@ -53,6 +53,6 @@ static void lenovo_hybrid_graphics_enable(struct device *dev)
}
struct chip_operations drivers_lenovo_hybrid_graphics_ops = {
- CHIP_NAME("Lenovo hybrid graphics driver")
+ .name = "Lenovo hybrid graphics driver",
.enable_dev = lenovo_hybrid_graphics_enable
};
diff --git a/src/drivers/net/atl1e.c b/src/drivers/net/atl1e.c
index fb9bcde78d38..fe85b8348cdf 100644
--- a/src/drivers/net/atl1e.c
+++ b/src/drivers/net/atl1e.c
@@ -153,5 +153,5 @@ static const struct pci_driver atl1e_driver __pci_driver = {
};
struct chip_operations drivers_net_ops = {
- CHIP_NAME("Atheros AR8121/AR8113/AR8114")
+ .name = "Atheros AR8121/AR8113/AR8114",
};
diff --git a/src/drivers/net/phy/m88e1512/m88e1512.c b/src/drivers/net/phy/m88e1512/m88e1512.c
index 2e8994c74821..07110c630ebe 100644
--- a/src/drivers/net/phy/m88e1512/m88e1512.c
+++ b/src/drivers/net/phy/m88e1512/m88e1512.c
@@ -97,5 +97,5 @@ struct device_operations m88e1512_ops = {
};
struct chip_operations drivers_net_phy_m88e1512_ops = {
- CHIP_NAME("88E1512")
+ .name = "88E1512",
};
diff --git a/src/drivers/net/r8168.c b/src/drivers/net/r8168.c
index f21edd0e07d2..70a0f63d4776 100644
--- a/src/drivers/net/r8168.c
+++ b/src/drivers/net/r8168.c
@@ -441,5 +441,5 @@ static const struct pci_driver r8168_driver __pci_driver = {
};
struct chip_operations drivers_net_ops = {
- CHIP_NAME("Realtek r8168")
+ .name = "Realtek r8168",
};
diff --git a/src/drivers/nxp/uwb/uwb.c b/src/drivers/nxp/uwb/uwb.c
index 978edebd636f..0f5ba47f083c 100644
--- a/src/drivers/nxp/uwb/uwb.c
+++ b/src/drivers/nxp/uwb/uwb.c
@@ -133,6 +133,6 @@ static void nxb_uwb_enable(struct device *dev)
}
struct chip_operations drivers_nxp_uwb_ops = {
- CHIP_NAME("NXP UWB Device")
+ .name = "NXP UWB Device",
.enable_dev = nxb_uwb_enable
};
diff --git a/src/drivers/pc80/tpm/tis.c b/src/drivers/pc80/tpm/tis.c
index 019e4a1fe9fb..2099bb7bf699 100644
--- a/src/drivers/pc80/tpm/tis.c
+++ b/src/drivers/pc80/tpm/tis.c
@@ -854,6 +854,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations drivers_pc80_tpm_ops = {
- CHIP_NAME("LPC TPM")
+ .name = "LPC TPM",
.enable_dev = enable_dev
};
diff --git a/src/drivers/pcie/generic/generic.c b/src/drivers/pcie/generic/generic.c
index 1873e65895c0..1b7976e6ad6f 100644
--- a/src/drivers/pcie/generic/generic.c
+++ b/src/drivers/pcie/generic/generic.c
@@ -68,6 +68,6 @@ static void pcie_generic_enable(struct device *dev)
}
struct chip_operations drivers_pcie_generic_ops = {
- CHIP_NAME("PCIe Device")
+ .name = "PCIe Device",
.enable_dev = pcie_generic_enable
};
diff --git a/src/drivers/pcie/rtd3/device/chip.c b/src/drivers/pcie/rtd3/device/chip.c
index 88b85f15a011..314aff815043 100644
--- a/src/drivers/pcie/rtd3/device/chip.c
+++ b/src/drivers/pcie/rtd3/device/chip.c
@@ -150,6 +150,6 @@ static void pcie_rtd3_device_enable(struct device *dev)
}
struct chip_operations drivers_pcie_rtd3_device_ops = {
- CHIP_NAME("PCIe Device w/ Runtime D3")
+ .name = "PCIe Device w/ Runtime D3",
.enable_dev = pcie_rtd3_device_enable
};
diff --git a/src/drivers/ricoh/rce822/rce822.c b/src/drivers/ricoh/rce822/rce822.c
index c85b4d1bff1a..f1cba75b0704 100644
--- a/src/drivers/ricoh/rce822/rce822.c
+++ b/src/drivers/ricoh/rce822/rce822.c
@@ -58,5 +58,5 @@ static const struct pci_driver rce822 __pci_driver = {
};
struct chip_operations drivers_ricoh_rce822_ops = {
- CHIP_NAME("RICOH RCE822")
+ .name = "RICOH RCE822",
};
diff --git a/src/drivers/secunet/dmi/smbios.c b/src/drivers/secunet/dmi/smbios.c
index f407b51f1353..fb8d75ac643d 100644
--- a/src/drivers/secunet/dmi/smbios.c
+++ b/src/drivers/secunet/dmi/smbios.c
@@ -91,6 +91,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations drivers_secunet_dmi_ops = {
- CHIP_NAME("secunet DMI")
+ .name = "secunet DMI",
.enable_dev = enable_dev,
};
diff --git a/src/drivers/sof/sof.c b/src/drivers/sof/sof.c
index b3537904a486..db945aa8f54b 100644
--- a/src/drivers/sof/sof.c
+++ b/src/drivers/sof/sof.c
@@ -85,6 +85,6 @@ static void sof_enable(struct device *dev)
}
struct chip_operations drivers_sof_ops = {
- CHIP_NAME("SOF")
+ .name = "SOF",
.enable_dev = sof_enable
};
diff --git a/src/drivers/soundwire/alc1308/alc1308.c b/src/drivers/soundwire/alc1308/alc1308.c
index f16d3a2de52b..5449fe8648ae 100644
--- a/src/drivers/soundwire/alc1308/alc1308.c
+++ b/src/drivers/soundwire/alc1308/alc1308.c
@@ -146,6 +146,6 @@ static void soundwire_alc1308_enable(struct device *dev)
}
struct chip_operations drivers_soundwire_alc1308_ops = {
- CHIP_NAME("Realtek ALC1308 SoundWire Codec")
+ .name = "Realtek ALC1308 SoundWire Codec",
.enable_dev = soundwire_alc1308_enable
};
diff --git a/src/drivers/soundwire/alc5682/alc5682.c b/src/drivers/soundwire/alc5682/alc5682.c
index c1aaff6cb7bb..0d8a3ab061d3 100644
--- a/src/drivers/soundwire/alc5682/alc5682.c
+++ b/src/drivers/soundwire/alc5682/alc5682.c
@@ -174,6 +174,6 @@ static void soundwire_alc5682_enable(struct device *dev)
}
struct chip_operations drivers_soundwire_alc5682_ops = {
- CHIP_NAME("Realtek ALC5682 SoundWire Codec")
+ .name = "Realtek ALC5682 SoundWire Codec",
.enable_dev = soundwire_alc5682_enable
};
diff --git a/src/drivers/soundwire/alc711/alc711.c b/src/drivers/soundwire/alc711/alc711.c
index 34d55c78e4d0..cfe28ade0c7e 100644
--- a/src/drivers/soundwire/alc711/alc711.c
+++ b/src/drivers/soundwire/alc711/alc711.c
@@ -151,6 +151,6 @@ static void soundwire_alc711_enable(struct device *dev)
}
struct chip_operations drivers_soundwire_alc711_ops = {
- CHIP_NAME("Realtek ALC711 SoundWire Codec")
+ .name = "Realtek ALC711 SoundWire Codec",
.enable_dev = soundwire_alc711_enable
};
diff --git a/src/drivers/soundwire/cs42l42/cs42l42.c b/src/drivers/soundwire/cs42l42/cs42l42.c
index 111844c171ef..e7c14cc4347a 100644
--- a/src/drivers/soundwire/cs42l42/cs42l42.c
+++ b/src/drivers/soundwire/cs42l42/cs42l42.c
@@ -226,6 +226,6 @@ static void soundwire_cs42l42_enable(struct device *dev)
}
struct chip_operations drivers_soundwire_cs42l42_ops = {
- CHIP_NAME("Cirrus Logic CS42L42 SoundWire Codec")
+ .name = "Cirrus Logic CS42L42 SoundWire Codec",
.enable_dev = soundwire_cs42l42_enable
};
diff --git a/src/drivers/soundwire/max98363/max98363.c b/src/drivers/soundwire/max98363/max98363.c
index 2963cdaa4e84..7b90d7834b00 100644
--- a/src/drivers/soundwire/max98363/max98363.c
+++ b/src/drivers/soundwire/max98363/max98363.c
@@ -136,6 +136,6 @@ static void soundwire_max98363_enable(struct device *dev)
}
struct chip_operations drivers_soundwire_max98363_ops = {
- CHIP_NAME("Maxim MAX98363 SoundWire Codec")
+ .name = "Maxim MAX98363 SoundWire Codec",
.enable_dev = soundwire_max98363_enable
};
diff --git a/src/drivers/soundwire/max98373/max98373.c b/src/drivers/soundwire/max98373/max98373.c
index fb202fe811bb..e3107c4a4c7c 100644
--- a/src/drivers/soundwire/max98373/max98373.c
+++ b/src/drivers/soundwire/max98373/max98373.c
@@ -160,6 +160,6 @@ static void soundwire_max98373_enable(struct device *dev)
}
struct chip_operations drivers_soundwire_max98373_ops = {
- CHIP_NAME("Maxim MAX98373 SoundWire Codec")
+ .name = "Maxim MAX98373 SoundWire Codec",
.enable_dev = soundwire_max98373_enable
};
diff --git a/src/drivers/spi/acpi/acpi.c b/src/drivers/spi/acpi/acpi.c
index 9b6fd80023f2..b58bc2daa8ae 100644
--- a/src/drivers/spi/acpi/acpi.c
+++ b/src/drivers/spi/acpi/acpi.c
@@ -200,6 +200,6 @@ static void spi_acpi_enable(struct device *dev)
}
struct chip_operations drivers_spi_acpi_ops = {
- CHIP_NAME("SPI Device")
+ .name = "SPI Device",
.enable_dev = spi_acpi_enable
};
diff --git a/src/drivers/uart/acpi/acpi.c b/src/drivers/uart/acpi/acpi.c
index c43dc52f2db7..bcf896da7fe5 100644
--- a/src/drivers/uart/acpi/acpi.c
+++ b/src/drivers/uart/acpi/acpi.c
@@ -169,6 +169,6 @@ static void uart_acpi_enable(struct device *dev)
}
struct chip_operations drivers_uart_acpi_ops = {
- CHIP_NAME("ACPI UART Device")
+ .name = "ACPI UART Device",
.enable_dev = uart_acpi_enable
};
diff --git a/src/drivers/usb/acpi/usb_acpi.c b/src/drivers/usb/acpi/usb_acpi.c
index b95ebc9a60df..b463b3b8d6de 100644
--- a/src/drivers/usb/acpi/usb_acpi.c
+++ b/src/drivers/usb/acpi/usb_acpi.c
@@ -127,7 +127,7 @@ static void usb_acpi_enable(struct device *dev)
}
struct chip_operations drivers_usb_acpi_ops = {
- CHIP_NAME("USB ACPI Device")
+ .name = "USB ACPI Device",
.enable_dev = usb_acpi_enable
};
diff --git a/src/drivers/usb/hub/acpi.c b/src/drivers/usb/hub/acpi.c
index 10e38fb61d81..e26d584a1684 100644
--- a/src/drivers/usb/hub/acpi.c
+++ b/src/drivers/usb/hub/acpi.c
@@ -85,6 +85,6 @@ static void usb_hub_acpi_enable(struct device *dev)
}
struct chip_operations drivers_usb_hub_ops = {
- CHIP_NAME("USB Hub")
+ .name = "USB Hub",
.enable_dev = usb_hub_acpi_enable
};
diff --git a/src/drivers/wifi/generic/generic.c b/src/drivers/wifi/generic/generic.c
index 19d281f59b73..283b45a5d1b0 100644
--- a/src/drivers/wifi/generic/generic.c
+++ b/src/drivers/wifi/generic/generic.c
@@ -67,7 +67,7 @@ static void wifi_generic_enable(struct device *dev)
}
struct chip_operations drivers_wifi_generic_ops = {
- CHIP_NAME("WIFI Device")
+ .name = "WIFI Device",
.enable_dev = wifi_generic_enable
};
diff --git a/src/drivers/wwan/fm/acpi_fm350gl.c b/src/drivers/wwan/fm/acpi_fm350gl.c
index 08f672f7c25c..77ff08524098 100644
--- a/src/drivers/wwan/fm/acpi_fm350gl.c
+++ b/src/drivers/wwan/fm/acpi_fm350gl.c
@@ -392,6 +392,6 @@ static void wwan_fm350gl_acpi_enable(struct device *dev)
}
struct chip_operations drivers_wwan_fm_ops = {
- CHIP_NAME("Fibocom FM-350-GL")
+ .name = "Fibocom FM-350-GL",
.enable_dev = wwan_fm350gl_acpi_enable
};
diff --git a/src/ec/51nb/npce985la0dx/npce985la0dx.c b/src/ec/51nb/npce985la0dx/npce985la0dx.c
index 06db530c3b8f..d81ea9093219 100644
--- a/src/ec/51nb/npce985la0dx/npce985la0dx.c
+++ b/src/ec/51nb/npce985la0dx/npce985la0dx.c
@@ -17,6 +17,6 @@ static void ec_51nb_npce985la0dx_ops_enable(struct device *dev)
}
struct chip_operations ec_51nb_npce985la0dx_ops = {
- CHIP_NAME("51NB EC")
+ .name = "51NB EC",
.enable_dev = ec_51nb_npce985la0dx_ops_enable,
};
diff --git a/src/ec/clevo/it5570e/ec.c b/src/ec/clevo/it5570e/ec.c
index 4f10750b51ac..d49bf36d70b5 100644
--- a/src/ec/clevo/it5570e/ec.c
+++ b/src/ec/clevo/it5570e/ec.c
@@ -123,6 +123,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations ec_clevo_it5570e_ops = {
- CHIP_NAME("Clevo IT5570E EC")
+ .name = "Clevo IT5570E EC",
.enable_dev = enable_dev,
};
diff --git a/src/ec/compal/ene932/ec.c b/src/ec/compal/ene932/ec.c
index 6389383b21db..37f26b1f6948 100644
--- a/src/ec/compal/ene932/ec.c
+++ b/src/ec/compal/ene932/ec.c
@@ -131,6 +131,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations ec_compal_ene932_ops = {
- CHIP_NAME("COMPAL ENE932 EC")
+ .name = "COMPAL ENE932 EC",
.enable_dev = enable_dev
};
diff --git a/src/ec/dell/mec5035/mec5035.c b/src/ec/dell/mec5035/mec5035.c
index eec79fb75f2b..68b6b2f7fb60 100644
--- a/src/ec/dell/mec5035/mec5035.c
+++ b/src/ec/dell/mec5035/mec5035.c
@@ -131,6 +131,6 @@ static void mec5035_enable(struct device *dev)
}
struct chip_operations ec_dell_mec5035_ops = {
- CHIP_NAME("MEC5035 EC")
+ .name = "MEC5035 EC",
.enable_dev = mec5035_enable,
};
diff --git a/src/ec/google/chromeec/audio_codec/audio_codec.c b/src/ec/google/chromeec/audio_codec/audio_codec.c
index 53037eb01bd6..a8def98da79c 100644
--- a/src/ec/google/chromeec/audio_codec/audio_codec.c
+++ b/src/ec/google/chromeec/audio_codec/audio_codec.c
@@ -59,6 +59,6 @@ static void crosec_audio_codec_enable(struct device *dev)
}
struct chip_operations ec_google_chromeec_audio_codec_ops = {
- CHIP_NAME("CrosEC Audio Codec Device")
+ .name = "CrosEC Audio Codec Device",
.enable_dev = crosec_audio_codec_enable
};
diff --git a/src/ec/google/chromeec/ec_lpc.c b/src/ec/google/chromeec/ec_lpc.c
index 080b95da445e..2a9eabbe7e26 100644
--- a/src/ec/google/chromeec/ec_lpc.c
+++ b/src/ec/google/chromeec/ec_lpc.c
@@ -451,7 +451,7 @@ static void enable_dev(struct device *dev)
}
struct chip_operations ec_google_chromeec_ops = {
- CHIP_NAME("Google Chrome EC")
+ .name = "Google Chrome EC",
.enable_dev = enable_dev,
};
diff --git a/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c b/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c
index e61ecfd8c1d5..64812d4e8de3 100644
--- a/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c
+++ b/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c
@@ -65,6 +65,6 @@ static void crosec_i2c_tunnel_enable(struct device *dev)
}
struct chip_operations ec_google_chromeec_i2c_tunnel_ops = {
- CHIP_NAME("CrosEC I2C Tunnel Device")
+ .name = "CrosEC I2C Tunnel Device",
.enable_dev = crosec_i2c_tunnel_enable
};
diff --git a/src/ec/google/chromeec/mux/conn/conn.c b/src/ec/google/chromeec/mux/conn/conn.c
index e179c33307ef..bb3129bfb786 100644
--- a/src/ec/google/chromeec/mux/conn/conn.c
+++ b/src/ec/google/chromeec/mux/conn/conn.c
@@ -52,6 +52,6 @@ static void conn_enable(struct device *dev)
}
struct chip_operations ec_google_chromeec_mux_conn_ops = {
- CHIP_NAME("CrosEC Type C Mux device")
+ .name = "CrosEC Type C Mux device",
.enable_dev = conn_enable,
};
diff --git a/src/ec/google/chromeec/mux/mux.c b/src/ec/google/chromeec/mux/mux.c
index 9324d2e4f222..62be23842aa9 100644
--- a/src/ec/google/chromeec/mux/mux.c
+++ b/src/ec/google/chromeec/mux/mux.c
@@ -36,6 +36,6 @@ static void mux_enable(struct device *dev)
}
struct chip_operations ec_google_chromeec_mux_ops = {
- CHIP_NAME("CrosEC Type C Mux device")
+ .name = "CrosEC Type C Mux device",
.enable_dev = mux_enable
};
diff --git a/src/ec/google/wilco/chip.c b/src/ec/google/wilco/chip.c
index 88d416da2481..3c70294d061b 100644
--- a/src/ec/google/wilco/chip.c
+++ b/src/ec/google/wilco/chip.c
@@ -230,6 +230,6 @@ static void wilco_ec_enable_dev(struct device *dev)
}
struct chip_operations ec_google_wilco_ops = {
- CHIP_NAME("Google Wilco EC")
+ .name = "Google Wilco EC",
.enable_dev = wilco_ec_enable_dev,
};
diff --git a/src/ec/hp/kbc1126/ec.c b/src/ec/hp/kbc1126/ec.c
index 8035b9407090..2a71079b20eb 100644
--- a/src/ec/hp/kbc1126/ec.c
+++ b/src/ec/hp/kbc1126/ec.c
@@ -120,6 +120,6 @@ static void kbc1126_enable(struct device *dev)
}
struct chip_operations ec_hp_kbc1126_ops = {
- CHIP_NAME("SMSC KBC1126 for HP laptops")
+ .name = "SMSC KBC1126 for HP laptops",
.enable_dev = kbc1126_enable
};
diff --git a/src/ec/kontron/it8516e/ec.c b/src/ec/kontron/it8516e/ec.c
index 5288976dd249..1d6780885fbe 100644
--- a/src/ec/kontron/it8516e/ec.c
+++ b/src/ec/kontron/it8516e/ec.c
@@ -239,6 +239,6 @@ static void it8516e_enable(struct device *dev)
}
const struct chip_operations ec_kontron_it8516e_ops = {
- CHIP_NAME("Kontron (Fintec/ITE) IT8516E EC")
+ .name = "Kontron (Fintec/ITE) IT8516E EC",
.enable_dev = it8516e_enable
};
diff --git a/src/ec/kontron/kempld/kempld.c b/src/ec/kontron/kempld/kempld.c
index 9527429e0e81..7050ff4900de 100644
--- a/src/ec/kontron/kempld/kempld.c
+++ b/src/ec/kontron/kempld/kempld.c
@@ -105,6 +105,6 @@ static void kempld_enable_dev(struct device *const dev)
}
struct chip_operations ec_kontron_kempld_ops = {
- CHIP_NAME("Kontron KEMPLD")
+ .name = "Kontron KEMPLD",
.enable_dev = kempld_enable_dev,
};
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c
index 9b7bcc3fa248..35ca1d964e8d 100644
--- a/src/ec/lenovo/h8/h8.c
+++ b/src/ec/lenovo/h8/h8.c
@@ -325,6 +325,6 @@ static void h8_enable(struct device *dev)
}
struct chip_operations ec_lenovo_h8_ops = {
- CHIP_NAME("Lenovo H8 EC")
+ .name = "Lenovo H8 EC",
.enable_dev = h8_enable,
};
diff --git a/src/ec/lenovo/pmh7/pmh7.c b/src/ec/lenovo/pmh7/pmh7.c
index fa24c686d819..95502f3d8890 100644
--- a/src/ec/lenovo/pmh7/pmh7.c
+++ b/src/ec/lenovo/pmh7/pmh7.c
@@ -126,6 +126,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations ec_lenovo_pmh7_ops = {
- CHIP_NAME("Lenovo Power Management Hardware Hub 7")
+ .name = "Lenovo Power Management Hardware Hub 7",
.enable_dev = enable_dev,
};
diff --git a/src/ec/quanta/ene_kb3940q/ec.c b/src/ec/quanta/ene_kb3940q/ec.c
index 4b4f5328fcf9..50bdaa3c171c 100644
--- a/src/ec/quanta/ene_kb3940q/ec.c
+++ b/src/ec/quanta/ene_kb3940q/ec.c
@@ -141,6 +141,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations ec_quanta_ene_kb3940q_ops = {
- CHIP_NAME("QUANTA EnE KB3940Q EC")
+ .name = "QUANTA EnE KB3940Q EC",
.enable_dev = enable_dev
};
diff --git a/src/ec/quanta/it8518/ec.c b/src/ec/quanta/it8518/ec.c
index 80aaa5dd12c6..dfa8c50be3ea 100644
--- a/src/ec/quanta/it8518/ec.c
+++ b/src/ec/quanta/it8518/ec.c
@@ -154,6 +154,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations ec_quanta_it8518_ops = {
- CHIP_NAME("QUANTA IT8518 EC")
+ .name = "QUANTA IT8518 EC",
.enable_dev = enable_dev
};
diff --git a/src/ec/roda/it8518/ec.c b/src/ec/roda/it8518/ec.c
index cbeb210ad9d4..9f877f7d9068 100644
--- a/src/ec/roda/it8518/ec.c
+++ b/src/ec/roda/it8518/ec.c
@@ -48,6 +48,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations ec_roda_it8518_ops = {
- CHIP_NAME("Roda IT8518 EC")
+ .name = "Roda IT8518 EC",
.enable_dev = enable_dev
};
diff --git a/src/ec/smsc/mec1308/ec.c b/src/ec/smsc/mec1308/ec.c
index fb09aa583578..39f3fbe320b2 100644
--- a/src/ec/smsc/mec1308/ec.c
+++ b/src/ec/smsc/mec1308/ec.c
@@ -112,6 +112,6 @@ static void mec1308_enable(struct device *dev)
}
struct chip_operations ec_smsc_mec1308_ops = {
- CHIP_NAME("SMSC MEC1308 EC Mailbox Interface")
+ .name = "SMSC MEC1308 EC Mailbox Interface",
.enable_dev = mec1308_enable
};
diff --git a/src/ec/starlabs/merlin/ite.c b/src/ec/starlabs/merlin/ite.c
index daf58733d938..dec9766b3981 100644
--- a/src/ec/starlabs/merlin/ite.c
+++ b/src/ec/starlabs/merlin/ite.c
@@ -322,6 +322,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations ec_starlabs_merlin_ops = {
- CHIP_NAME("ITE EC")
+ .name = "ITE EC",
.enable_dev = enable_dev
};
diff --git a/src/ec/starlabs/merlin/nuvoton.c b/src/ec/starlabs/merlin/nuvoton.c
index bad8d1b4ec47..d0b119f8cde4 100644
--- a/src/ec/starlabs/merlin/nuvoton.c
+++ b/src/ec/starlabs/merlin/nuvoton.c
@@ -297,6 +297,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations ec_starlabs_merlin_ops = {
- CHIP_NAME("NUVOTON EC")
+ .name = "NUVOTON EC",
.enable_dev = enable_dev
};
diff --git a/src/include/device/device.h b/src/include/device/device.h
index b7917e369379..7e52f41a1443 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -34,8 +34,6 @@ struct chip_operations {
const char *name;
};
-#define CHIP_NAME(X) .name = X,
-
struct bus;
struct acpi_rsdp;
diff --git a/src/mainboard/emulation/qemu-i440fx/northbridge.c b/src/mainboard/emulation/qemu-i440fx/northbridge.c
index 5fe12e715dee..6c26366ad732 100644
--- a/src/mainboard/emulation/qemu-i440fx/northbridge.c
+++ b/src/mainboard/emulation/qemu-i440fx/northbridge.c
@@ -276,11 +276,11 @@ static void northbridge_enable(struct device *dev)
}
struct chip_operations mainboard_emulation_qemu_i440fx_ops = {
- CHIP_NAME("QEMU Northbridge i440fx")
+ .name = "QEMU Northbridge i440fx",
.enable_dev = northbridge_enable,
};
struct chip_operations mainboard_emulation_qemu_q35_ops = {
- CHIP_NAME("QEMU Northbridge q35")
+ .name = "QEMU Northbridge q35",
.enable_dev = northbridge_enable,
};
diff --git a/src/mainboard/supermicro/x10slm-f/mainboard.c b/src/mainboard/supermicro/x10slm-f/mainboard.c
index 98548e33baf4..37c1eb4dd8c4 100644
--- a/src/mainboard/supermicro/x10slm-f/mainboard.c
+++ b/src/mainboard/supermicro/x10slm-f/mainboard.c
@@ -35,6 +35,6 @@ static void mainboard_enable(struct device *dev)
}
struct chip_operations mainboard_ops = {
- CHIP_NAME("X10SLM+-F")
+ .name = "X10SLM+-F",
.enable_dev = mainboard_enable,
};
diff --git a/src/northbridge/amd/pi/00730F01/northbridge.c b/src/northbridge/amd/pi/00730F01/northbridge.c
index 5e82ccd51c98..7e9cfd8d2ab7 100644
--- a/src/northbridge/amd/pi/00730F01/northbridge.c
+++ b/src/northbridge/amd/pi/00730F01/northbridge.c
@@ -692,7 +692,7 @@ struct device_operations amd_fam16_mod30_cpu_bus_ops = {
};
struct chip_operations northbridge_amd_pi_00730F01_ops = {
- CHIP_NAME("AMD FAM16 Root Complex")
+ .name = "AMD FAM16 Root Complex",
.final = fam16_finalize,
};
diff --git a/src/northbridge/intel/e7505/northbridge.c b/src/northbridge/intel/e7505/northbridge.c
index 65a021210ed5..fa29ef58c300 100644
--- a/src/northbridge/intel/e7505/northbridge.c
+++ b/src/northbridge/intel/e7505/northbridge.c
@@ -70,5 +70,5 @@ struct device_operations e7505_cpu_bus_ops = {
};
struct chip_operations northbridge_intel_e7505_ops = {
- CHIP_NAME("Intel E7505 Northbridge")
+ .name = "Intel E7505 Northbridge",
};
diff --git a/src/northbridge/intel/gm45/northbridge.c b/src/northbridge/intel/gm45/northbridge.c
index 4bddf2069234..50d0d89407d9 100644
--- a/src/northbridge/intel/gm45/northbridge.c
+++ b/src/northbridge/intel/gm45/northbridge.c
@@ -233,7 +233,7 @@ static void gm45_init(void *const chip_info)
}
struct chip_operations northbridge_intel_gm45_ops = {
- CHIP_NAME("Intel GM45 Northbridge")
+ .name = "Intel GM45 Northbridge",
.init = gm45_init,
};
diff --git a/src/northbridge/intel/haswell/northbridge.c b/src/northbridge/intel/haswell/northbridge.c
index ef5b9e9f0d74..c544ad3c3883 100644
--- a/src/northbridge/intel/haswell/northbridge.c
+++ b/src/northbridge/intel/haswell/northbridge.c
@@ -542,5 +542,5 @@ struct device_operations haswell_cpu_bus_ops = {
};
struct chip_operations northbridge_intel_haswell_ops = {
- CHIP_NAME("Intel Haswell integrated Northbridge")
+ .name = "Intel Haswell integrated Northbridge",
};
diff --git a/src/northbridge/intel/i440bx/northbridge.c b/src/northbridge/intel/i440bx/northbridge.c
index 0670f725f073..d5881970bf6a 100644
--- a/src/northbridge/intel/i440bx/northbridge.c
+++ b/src/northbridge/intel/i440bx/northbridge.c
@@ -105,6 +105,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations northbridge_intel_i440bx_ops = {
- CHIP_NAME("Intel 82443BX (440BX) Northbridge")
+ .name = "Intel 82443BX (440BX) Northbridge",
.enable_dev = enable_dev,
};
diff --git a/src/northbridge/intel/i945/northbridge.c b/src/northbridge/intel/i945/northbridge.c
index 1dfcc4005b30..34ebcb24819f 100644
--- a/src/northbridge/intel/i945/northbridge.c
+++ b/src/northbridge/intel/i945/northbridge.c
@@ -134,7 +134,7 @@ struct device_operations i945_cpu_bus_ops = {
};
struct chip_operations northbridge_intel_i945_ops = {
- CHIP_NAME("Intel i945 Northbridge")
+ .name = "Intel i945 Northbridge",
};
bool northbridge_support_slfm(void)
diff --git a/src/northbridge/intel/ironlake/northbridge.c b/src/northbridge/intel/ironlake/northbridge.c
index 74ddee2d8e1d..e6bc3752d597 100644
--- a/src/northbridge/intel/ironlake/northbridge.c
+++ b/src/northbridge/intel/ironlake/northbridge.c
@@ -217,6 +217,6 @@ struct device_operations ironlake_cpu_bus_ops = {
};
struct chip_operations northbridge_intel_ironlake_ops = {
- CHIP_NAME("Intel Ironlake integrated Northbridge")
+ .name = "Intel Ironlake integrated Northbridge",
.init = ironlake_init,
};
diff --git a/src/northbridge/intel/pineview/northbridge.c b/src/northbridge/intel/pineview/northbridge.c
index a23a0d5a68e2..d7a6c84bfa0a 100644
--- a/src/northbridge/intel/pineview/northbridge.c
+++ b/src/northbridge/intel/pineview/northbridge.c
@@ -159,6 +159,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations northbridge_intel_pineview_ops = {
- CHIP_NAME("Intel Pineview Northbridge")
+ .name = "Intel Pineview Northbridge",
.enable_dev = enable_dev,
};
diff --git a/src/northbridge/intel/sandybridge/northbridge.c b/src/northbridge/intel/sandybridge/northbridge.c
index 6b8971081a91..3db90865f768 100644
--- a/src/northbridge/intel/sandybridge/northbridge.c
+++ b/src/northbridge/intel/sandybridge/northbridge.c
@@ -407,5 +407,5 @@ struct device_operations sandybridge_cpu_bus_ops = {
};
struct chip_operations northbridge_intel_sandybridge_ops = {
- CHIP_NAME("Intel SandyBridge/IvyBridge integrated Northbridge")
+ .name = "Intel SandyBridge/IvyBridge integrated Northbridge",
};
diff --git a/src/northbridge/intel/x4x/northbridge.c b/src/northbridge/intel/x4x/northbridge.c
index 12a7a40d0668..b037cf84ebb3 100644
--- a/src/northbridge/intel/x4x/northbridge.c
+++ b/src/northbridge/intel/x4x/northbridge.c
@@ -154,7 +154,7 @@ static void x4x_init(void *const chip_info)
}
struct chip_operations northbridge_intel_x4x_ops = {
- CHIP_NAME("Intel 4-Series Northbridge")
+ .name = "Intel 4-Series Northbridge",
.init = x4x_init,
};
diff --git a/src/soc/amd/cezanne/chip.c b/src/soc/amd/cezanne/chip.c
index 4be0a829e42b..ffbd94a4040e 100644
--- a/src/soc/amd/cezanne/chip.c
+++ b/src/soc/amd/cezanne/chip.c
@@ -50,7 +50,7 @@ static void soc_final(void *chip_info)
}
struct chip_operations soc_amd_cezanne_ops = {
- CHIP_NAME("AMD Cezanne SoC")
+ .name = "AMD Cezanne SoC",
.init = soc_init,
.final = soc_final
};
diff --git a/src/soc/amd/genoa_poc/chip.c b/src/soc/amd/genoa_poc/chip.c
index 83d2bc9fa636..d397800ec15e 100644
--- a/src/soc/amd/genoa_poc/chip.c
+++ b/src/soc/amd/genoa_poc/chip.c
@@ -21,7 +21,7 @@ static void soc_final(void *chip_info)
}
struct chip_operations soc_amd_genoa_poc_ops = {
- CHIP_NAME("AMD Genoa SoC Proof of Concept")
+ .name = "AMD Genoa SoC Proof of Concept",
.init = soc_init,
.final = soc_final,
};
diff --git a/src/soc/amd/glinda/chip.c b/src/soc/amd/glinda/chip.c
index 0f49f6a01ca2..13933c7df621 100644
--- a/src/soc/amd/glinda/chip.c
+++ b/src/soc/amd/glinda/chip.c
@@ -52,7 +52,7 @@ static void soc_final(void *chip_info)
}
struct chip_operations soc_amd_glinda_ops = {
- CHIP_NAME("AMD Glinda SoC")
+ .name = "AMD Glinda SoC",
.init = soc_init,
.final = soc_final
};
diff --git a/src/soc/amd/mendocino/chip.c b/src/soc/amd/mendocino/chip.c
index f724e2040927..0bb963747b10 100644
--- a/src/soc/amd/mendocino/chip.c
+++ b/src/soc/amd/mendocino/chip.c
@@ -50,7 +50,7 @@ static void soc_final(void *chip_info)
}
struct chip_operations soc_amd_mendocino_ops = {
- CHIP_NAME("AMD Mendocino SoC")
+ .name = "AMD Mendocino SoC",
.init = soc_init,
.final = soc_final
};
diff --git a/src/soc/amd/phoenix/chip.c b/src/soc/amd/phoenix/chip.c
index 173b2208dfa9..72652bac60aa 100644
--- a/src/soc/amd/phoenix/chip.c
+++ b/src/soc/amd/phoenix/chip.c
@@ -52,7 +52,7 @@ static void soc_final(void *chip_info)
}
struct chip_operations soc_amd_phoenix_ops = {
- CHIP_NAME("AMD Phoenix SoC")
+ .name = "AMD Phoenix SoC",
.init = soc_init,
.final = soc_final
};
diff --git a/src/soc/amd/picasso/chip.c b/src/soc/amd/picasso/chip.c
index 4f3058252c34..d896a8337296 100644
--- a/src/soc/amd/picasso/chip.c
+++ b/src/soc/amd/picasso/chip.c
@@ -50,7 +50,7 @@ static void soc_final(void *chip_info)
}
struct chip_operations soc_amd_picasso_ops = {
- CHIP_NAME("AMD Picasso SOC")
+ .name = "AMD Picasso SOC",
.init = soc_init,
.final = soc_final
};
diff --git a/src/soc/amd/stoneyridge/chip.c b/src/soc/amd/stoneyridge/chip.c
index 09cede3ddb34..05beaff69920 100644
--- a/src/soc/amd/stoneyridge/chip.c
+++ b/src/soc/amd/stoneyridge/chip.c
@@ -100,7 +100,7 @@ static void soc_final(void *chip_info)
}
struct chip_operations soc_amd_stoneyridge_ops = {
- CHIP_NAME("AMD StoneyRidge SOC")
+ .name = "AMD StoneyRidge SOC",
.init = soc_init,
.final = soc_final
};
diff --git a/src/soc/cavium/cn81xx/soc.c b/src/soc/cavium/cn81xx/soc.c
index ed1441ba45c7..5e606d3d9e09 100644
--- a/src/soc/cavium/cn81xx/soc.c
+++ b/src/soc/cavium/cn81xx/soc.c
@@ -394,6 +394,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_cavium_cn81xx_ops = {
- CHIP_NAME("SOC Cavium CN81XX")
+ .name = "SOC Cavium CN81XX",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/cavium/common/pci/uart.c b/src/soc/cavium/common/pci/uart.c
index 4ee1cdfac7fa..af59e2b9fef0 100644
--- a/src/soc/cavium/common/pci/uart.c
+++ b/src/soc/cavium/common/pci/uart.c
@@ -26,5 +26,5 @@ static const struct pci_driver soc_cavium_uart __pci_driver = {
};
struct chip_operations soc_cavium_common_pci_ops = {
- CHIP_NAME("Cavium ThunderX UART")
+ .name = "Cavium ThunderX UART",
};
diff --git a/src/soc/intel/alderlake/chip.c b/src/soc/intel/alderlake/chip.c
index 063915798dcc..45fb39f93186 100644
--- a/src/soc/intel/alderlake/chip.c
+++ b/src/soc/intel/alderlake/chip.c
@@ -286,7 +286,7 @@ static void soc_enable(struct device *dev)
}
struct chip_operations soc_intel_alderlake_ops = {
- CHIP_NAME("Intel Alderlake")
+ .name = "Intel Alderlake",
.enable_dev = &soc_enable,
.init = &soc_init_pre_device,
};
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index 07c2637ecd25..469b9be8d106 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -759,7 +759,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
}
struct chip_operations soc_intel_apollolake_ops = {
- CHIP_NAME("Intel Apollolake SOC")
+ .name = "Intel Apollolake SOC",
.enable_dev = &enable_dev,
.init = &soc_init,
.final = &soc_final
diff --git a/src/soc/intel/baytrail/chip.c b/src/soc/intel/baytrail/chip.c
index 592e17879aa5..fdfd1299e687 100644
--- a/src/soc/intel/baytrail/chip.c
+++ b/src/soc/intel/baytrail/chip.c
@@ -43,7 +43,7 @@ static void soc_init(void *chip_info)
}
struct chip_operations soc_intel_baytrail_ops = {
- CHIP_NAME("Intel BayTrail SoC")
+ .name = "Intel BayTrail SoC",
.enable_dev = enable_dev,
.init = soc_init,
};
diff --git a/src/soc/intel/braswell/chip.c b/src/soc/intel/braswell/chip.c
index d3c41f889463..407b6ea01848 100644
--- a/src/soc/intel/braswell/chip.c
+++ b/src/soc/intel/braswell/chip.c
@@ -294,7 +294,7 @@ static void soc_init(void *chip_info)
}
struct chip_operations soc_intel_braswell_ops = {
- CHIP_NAME("Intel Braswell SoC")
+ .name = "Intel Braswell SoC",
.enable_dev = enable_dev,
.init = soc_init,
};
diff --git a/src/soc/intel/broadwell/northbridge.c b/src/soc/intel/broadwell/northbridge.c
index 652527520f61..3d2574ba6d2a 100644
--- a/src/soc/intel/broadwell/northbridge.c
+++ b/src/soc/intel/broadwell/northbridge.c
@@ -419,6 +419,6 @@ static void broadwell_init_pre_device(void *chip_info)
}
struct chip_operations soc_intel_broadwell_ops = {
- CHIP_NAME("Intel Broadwell")
+ .name = "Intel Broadwell",
.init = &broadwell_init_pre_device,
};
diff --git a/src/soc/intel/broadwell/pch/pch.c b/src/soc/intel/broadwell/pch/pch.c
index 98fbc46e4e7a..ddb51ccf12f1 100644
--- a/src/soc/intel/broadwell/pch/pch.c
+++ b/src/soc/intel/broadwell/pch/pch.c
@@ -196,7 +196,7 @@ static void broadwell_pch_enable_dev(struct device *dev)
}
struct chip_operations soc_intel_broadwell_pch_ops = {
- CHIP_NAME("Intel Broadwell PCH")
+ .name = "Intel Broadwell PCH",
.enable_dev = &broadwell_pch_enable_dev,
};
diff --git a/src/soc/intel/cannonlake/chip.c b/src/soc/intel/cannonlake/chip.c
index 0da6e40c9c16..bda66bd1ddf6 100644
--- a/src/soc/intel/cannonlake/chip.c
+++ b/src/soc/intel/cannonlake/chip.c
@@ -206,7 +206,7 @@ static void soc_enable(struct device *dev)
}
struct chip_operations soc_intel_cannonlake_ops = {
- CHIP_NAME("Intel Cannonlake")
+ .name = "Intel Cannonlake",
.enable_dev = &soc_enable,
.init = &soc_init_pre_device,
};
diff --git a/src/soc/intel/common/block/pcie/rtd3/rtd3.c b/src/soc/intel/common/block/pcie/rtd3/rtd3.c
index abd7e466714e..39c82b11f219 100644
--- a/src/soc/intel/common/block/pcie/rtd3/rtd3.c
+++ b/src/soc/intel/common/block/pcie/rtd3/rtd3.c
@@ -567,6 +567,6 @@ static void pcie_rtd3_acpi_enable(struct device *dev)
}
struct chip_operations soc_intel_common_block_pcie_rtd3_ops = {
- CHIP_NAME("Intel PCIe Runtime D3")
+ .name = "Intel PCIe Runtime D3",
.enable_dev = pcie_rtd3_acpi_enable
};
diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c
index 533fbee8329f..c03f5a9d367d 100644
--- a/src/soc/intel/common/block/uart/uart.c
+++ b/src/soc/intel/common/block/uart/uart.c
@@ -433,7 +433,7 @@ static void uart_enable(struct device *dev)
}
struct chip_operations soc_intel_common_block_uart_ops = {
- CHIP_NAME("LPSS UART in ACPI mode")
+ .name = "LPSS UART in ACPI mode",
.enable_dev = uart_enable
};
diff --git a/src/soc/intel/common/block/usb4/pcie.c b/src/soc/intel/common/block/usb4/pcie.c
index 0139647949d1..f2414ccb12e5 100644
--- a/src/soc/intel/common/block/usb4/pcie.c
+++ b/src/soc/intel/common/block/usb4/pcie.c
@@ -81,6 +81,6 @@ static void usb4_pcie_acpi_enable(struct device *dev)
}
struct chip_operations soc_intel_common_block_usb4_ops = {
- CHIP_NAME("Intel USB4 PCIe Root Port")
+ .name = "Intel USB4 PCIe Root Port",
.enable_dev = usb4_pcie_acpi_enable
};
diff --git a/src/soc/intel/denverton_ns/chip.c b/src/soc/intel/denverton_ns/chip.c
index 1a4341e1d6e3..10164600e750 100644
--- a/src/soc/intel/denverton_ns/chip.c
+++ b/src/soc/intel/denverton_ns/chip.c
@@ -187,7 +187,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
}
struct chip_operations soc_intel_denverton_ns_ops = {
- CHIP_NAME("Intel Denverton-NS SOC")
+ .name = "Intel Denverton-NS SOC",
.enable_dev = soc_enable_dev,
.init = soc_init,
.final = soc_final
diff --git a/src/soc/intel/elkhartlake/chip.c b/src/soc/intel/elkhartlake/chip.c
index 194591d65a9a..f9e4e0eeeede 100644
--- a/src/soc/intel/elkhartlake/chip.c
+++ b/src/soc/intel/elkhartlake/chip.c
@@ -159,7 +159,7 @@ static void soc_enable(struct device *dev)
}
struct chip_operations soc_intel_elkhartlake_ops = {
- CHIP_NAME("Intel Elkhartlake")
+ .name = "Intel Elkhartlake",
.enable_dev = &soc_enable,
.init = &soc_init_pre_device,
};
diff --git a/src/soc/intel/jasperlake/chip.c b/src/soc/intel/jasperlake/chip.c
index c049163feca8..7b185c3e6491 100644
--- a/src/soc/intel/jasperlake/chip.c
+++ b/src/soc/intel/jasperlake/chip.c
@@ -170,7 +170,7 @@ static void soc_enable(struct device *dev)
}
struct chip_operations soc_intel_jasperlake_ops = {
- CHIP_NAME("Intel Jasperlake")
+ .name = "Intel Jasperlake",
.enable_dev = &soc_enable,
.init = &soc_init_pre_device,
};
diff --git a/src/soc/intel/meteorlake/chip.c b/src/soc/intel/meteorlake/chip.c
index be957cc51fc5..03adfdb73888 100644
--- a/src/soc/intel/meteorlake/chip.c
+++ b/src/soc/intel/meteorlake/chip.c
@@ -276,7 +276,7 @@ static void soc_init_final_device(void *chip_info)
}
struct chip_operations soc_intel_meteorlake_ops = {
- CHIP_NAME("Intel Meteorlake")
+ .name = "Intel Meteorlake",
.enable_dev = &soc_enable,
.init = &soc_init_pre_device,
.final = &soc_init_final_device,
diff --git a/src/soc/intel/skylake/chip.c b/src/soc/intel/skylake/chip.c
index 8df1ad354395..f471edb96023 100644
--- a/src/soc/intel/skylake/chip.c
+++ b/src/soc/intel/skylake/chip.c
@@ -212,7 +212,7 @@ static void soc_enable(struct device *dev)
}
struct chip_operations soc_intel_skylake_ops = {
- CHIP_NAME("Intel 6th Gen")
+ .name = "Intel 6th Gen",
.enable_dev = &soc_enable,
.init = &soc_init_pre_device,
};
diff --git a/src/soc/intel/tigerlake/chip.c b/src/soc/intel/tigerlake/chip.c
index dd2467927342..c94e7279362e 100644
--- a/src/soc/intel/tigerlake/chip.c
+++ b/src/soc/intel/tigerlake/chip.c
@@ -222,7 +222,7 @@ static void soc_enable(struct device *dev)
}
struct chip_operations soc_intel_tigerlake_ops = {
- CHIP_NAME("Intel Tigerlake")
+ .name = "Intel Tigerlake",
.enable_dev = &soc_enable,
.init = &soc_init_pre_device,
};
diff --git a/src/soc/intel/xeon_sp/cpx/chip.c b/src/soc/intel/xeon_sp/cpx/chip.c
index 39a7ebaae2ae..1e84dd5a5ced 100644
--- a/src/soc/intel/xeon_sp/cpx/chip.c
+++ b/src/soc/intel/xeon_sp/cpx/chip.c
@@ -186,7 +186,7 @@ static void chip_init(void *data)
}
struct chip_operations soc_intel_xeon_sp_cpx_ops = {
- CHIP_NAME("Intel Cooper Lake-SP")
+ .name = "Intel Cooper Lake-SP",
.enable_dev = chip_enable_dev,
.init = chip_init,
.final = chip_final,
diff --git a/src/soc/intel/xeon_sp/skx/chip.c b/src/soc/intel/xeon_sp/skx/chip.c
index b468842e9202..68737ed5b183 100644
--- a/src/soc/intel/xeon_sp/skx/chip.c
+++ b/src/soc/intel/xeon_sp/skx/chip.c
@@ -89,7 +89,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
}
struct chip_operations soc_intel_xeon_sp_skx_ops = {
- CHIP_NAME("Intel Skylake-SP")
+ .name = "Intel Skylake-SP",
.enable_dev = soc_enable_dev,
.init = soc_init,
.final = soc_final
diff --git a/src/soc/intel/xeon_sp/spr/chip.c b/src/soc/intel/xeon_sp/spr/chip.c
index 3b3c65e4a040..abab0d24132f 100644
--- a/src/soc/intel/xeon_sp/spr/chip.c
+++ b/src/soc/intel/xeon_sp/spr/chip.c
@@ -159,7 +159,8 @@ static void chip_init(void *data)
}
struct chip_operations soc_intel_xeon_sp_spr_ops = {
- CHIP_NAME("Intel SapphireRapids-SP").enable_dev = chip_enable_dev,
+ .name = "Intel SapphireRapids-SP",
+ .enable_dev = chip_enable_dev,
.init = chip_init,
.final = chip_final,
};
diff --git a/src/soc/mediatek/mt8173/soc.c b/src/soc/mediatek/mt8173/soc.c
index ebdf4e542058..f6ee122bf96a 100644
--- a/src/soc/mediatek/mt8173/soc.c
+++ b/src/soc/mediatek/mt8173/soc.c
@@ -45,6 +45,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_mediatek_mt8173_ops = {
- CHIP_NAME("SOC Mediatek MT8173")
+ .name = "SOC Mediatek MT8173",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/mediatek/mt8183/soc.c b/src/soc/mediatek/mt8183/soc.c
index 32ec4e4453ed..38323f769b21 100644
--- a/src/soc/mediatek/mt8183/soc.c
+++ b/src/soc/mediatek/mt8183/soc.c
@@ -33,6 +33,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_mediatek_mt8183_ops = {
- CHIP_NAME("SOC Mediatek MT8183")
+ .name = "SOC Mediatek MT8183",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/mediatek/mt8186/soc.c b/src/soc/mediatek/mt8186/soc.c
index a55e2ee2cb9e..ada794f1e0ea 100644
--- a/src/soc/mediatek/mt8186/soc.c
+++ b/src/soc/mediatek/mt8186/soc.c
@@ -50,6 +50,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_mediatek_mt8186_ops = {
- CHIP_NAME("SOC Mediatek MT8186")
+ .name = "SOC Mediatek MT8186",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/mediatek/mt8188/soc.c b/src/soc/mediatek/mt8188/soc.c
index d0a29c578c3b..35071d50f1db 100644
--- a/src/soc/mediatek/mt8188/soc.c
+++ b/src/soc/mediatek/mt8188/soc.c
@@ -65,6 +65,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_mediatek_mt8188_ops = {
- CHIP_NAME("SOC Mediatek MT8188")
+ .name = "SOC Mediatek MT8188",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/mediatek/mt8192/soc.c b/src/soc/mediatek/mt8192/soc.c
index 74d2579a36f8..a84cf4a6b597 100644
--- a/src/soc/mediatek/mt8192/soc.c
+++ b/src/soc/mediatek/mt8192/soc.c
@@ -47,6 +47,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_mediatek_mt8192_ops = {
- CHIP_NAME("SOC Mediatek MT8192")
+ .name = "SOC Mediatek MT8192",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/mediatek/mt8195/soc.c b/src/soc/mediatek/mt8195/soc.c
index 5425695bafda..20a9811d15c0 100644
--- a/src/soc/mediatek/mt8195/soc.c
+++ b/src/soc/mediatek/mt8195/soc.c
@@ -70,6 +70,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_mediatek_mt8195_ops = {
- CHIP_NAME("SOC Mediatek MT8195")
+ .name = "SOC Mediatek MT8195",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/nvidia/tegra124/soc.c b/src/soc/nvidia/tegra124/soc.c
index 64fb8681ce64..1de8ab30b3e5 100644
--- a/src/soc/nvidia/tegra124/soc.c
+++ b/src/soc/nvidia/tegra124/soc.c
@@ -47,6 +47,6 @@ static void enable_tegra124_dev(struct device *dev)
}
struct chip_operations soc_nvidia_tegra124_ops = {
- CHIP_NAME("SOC Nvidia Tegra124")
+ .name = "SOC Nvidia Tegra124",
.enable_dev = enable_tegra124_dev,
};
diff --git a/src/soc/nvidia/tegra210/soc.c b/src/soc/nvidia/tegra210/soc.c
index b037bdfcb3bb..e207da602027 100644
--- a/src/soc/nvidia/tegra210/soc.c
+++ b/src/soc/nvidia/tegra210/soc.c
@@ -80,7 +80,7 @@ static void tegra210_init(void *chip_info)
}
struct chip_operations soc_nvidia_tegra210_ops = {
- CHIP_NAME("SOC Nvidia Tegra210")
+ .name = "SOC Nvidia Tegra210",
.init = tegra210_init,
.enable_dev = enable_tegra210_dev,
};
diff --git a/src/soc/qualcomm/ipq40xx/soc.c b/src/soc/qualcomm/ipq40xx/soc.c
index f482cff30bc7..ff074b77d882 100644
--- a/src/soc/qualcomm/ipq40xx/soc.c
+++ b/src/soc/qualcomm/ipq40xx/soc.c
@@ -49,6 +49,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_qualcomm_ipq40xx_ops = {
- CHIP_NAME("SOC QCA 40xx")
+ .name = "SOC QCA 40xx",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/qualcomm/ipq806x/soc.c b/src/soc/qualcomm/ipq806x/soc.c
index ad0510f02125..b0c05c964de0 100644
--- a/src/soc/qualcomm/ipq806x/soc.c
+++ b/src/soc/qualcomm/ipq806x/soc.c
@@ -39,6 +39,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_qualcomm_ipq806x_ops = {
- CHIP_NAME("SOC Qualcomm 8064")
+ .name = "SOC Qualcomm 8064",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/qualcomm/qcs405/soc.c b/src/soc/qualcomm/qcs405/soc.c
index f1a2def791fd..18bf698d5a29 100644
--- a/src/soc/qualcomm/qcs405/soc.c
+++ b/src/soc/qualcomm/qcs405/soc.c
@@ -27,6 +27,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_qualcomm_qcs405_ops = {
- CHIP_NAME("SOC Qualcomm QCS405")
+ .name = "SOC Qualcomm QCS405",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/qualcomm/sc7180/soc.c b/src/soc/qualcomm/sc7180/soc.c
index cef7e8f8c53b..f81eeea2739f 100644
--- a/src/soc/qualcomm/sc7180/soc.c
+++ b/src/soc/qualcomm/sc7180/soc.c
@@ -36,6 +36,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_qualcomm_sc7180_ops = {
- CHIP_NAME("SOC Qualcomm SC7180")
+ .name = "SOC Qualcomm SC7180",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/qualcomm/sc7280/soc.c b/src/soc/qualcomm/sc7280/soc.c
index 783c557e4b85..8dd53cc14fd9 100644
--- a/src/soc/qualcomm/sc7280/soc.c
+++ b/src/soc/qualcomm/sc7280/soc.c
@@ -53,6 +53,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_qualcomm_sc7280_ops = {
- CHIP_NAME("SOC Qualcomm SC7280")
+ .name = "SOC Qualcomm SC7280",
.enable_dev = enable_soc_dev,
};
diff --git a/src/soc/rockchip/rk3288/soc.c b/src/soc/rockchip/rk3288/soc.c
index 20f5cece920b..8704d1604336 100644
--- a/src/soc/rockchip/rk3288/soc.c
+++ b/src/soc/rockchip/rk3288/soc.c
@@ -33,6 +33,6 @@ static void enable_rk3288_dev(struct device *dev)
}
struct chip_operations soc_rockchip_rk3288_ops = {
- CHIP_NAME("SOC Rockchip 3288")
+ .name = "SOC Rockchip 3288",
.enable_dev = enable_rk3288_dev,
};
diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c
index 03c39a9daac6..0937e8f6f980 100644
--- a/src/soc/rockchip/rk3399/soc.c
+++ b/src/soc/rockchip/rk3399/soc.c
@@ -46,6 +46,6 @@ static void enable_soc_dev(struct device *dev)
}
struct chip_operations soc_rockchip_rk3399_ops = {
- CHIP_NAME("SOC Rockchip RK3399")
- .enable_dev = enable_soc_dev,
+ .name = "SOC Rockchip RK3399",
+ .enable_dev = enable_soc_dev,
};
diff --git a/src/soc/samsung/exynos5250/cpu.c b/src/soc/samsung/exynos5250/cpu.c
index 06c942382116..bbf04d91b421 100644
--- a/src/soc/samsung/exynos5250/cpu.c
+++ b/src/soc/samsung/exynos5250/cpu.c
@@ -128,7 +128,7 @@ static void enable_exynos5250_dev(struct device *dev)
}
struct chip_operations soc_samsung_exynos5250_ops = {
- CHIP_NAME("SOC Samsung Exynos 5250")
+ .name = "SOC Samsung Exynos 5250",
.enable_dev = enable_exynos5250_dev,
};
diff --git a/src/soc/samsung/exynos5420/cpu.c b/src/soc/samsung/exynos5420/cpu.c
index 7869ab8f1a48..b55cb34b17bb 100644
--- a/src/soc/samsung/exynos5420/cpu.c
+++ b/src/soc/samsung/exynos5420/cpu.c
@@ -156,6 +156,6 @@ static void enable_exynos5420_dev(struct device *dev)
}
struct chip_operations soc_samsung_exynos5420_ops = {
- CHIP_NAME("SOC Samsung Exynos 5420")
+ .name = "SOC Samsung Exynos 5420",
.enable_dev = enable_exynos5420_dev,
};
diff --git a/src/soc/sifive/fu540/chip.c b/src/soc/sifive/fu540/chip.c
index 6eab45c61c05..e33b4a3b0f4a 100644
--- a/src/soc/sifive/fu540/chip.c
+++ b/src/soc/sifive/fu540/chip.c
@@ -3,5 +3,5 @@
#include <device/device.h>
struct chip_operations soc_sifive_fu540_ops = {
- CHIP_NAME("SIFIVE FU540")
+ .name = "SIFIVE FU540",
};
diff --git a/src/soc/ti/am335x/soc.c b/src/soc/ti/am335x/soc.c
index 410b2d772fdb..b409ab0f11f8 100644
--- a/src/soc/ti/am335x/soc.c
+++ b/src/soc/ti/am335x/soc.c
@@ -10,6 +10,6 @@ static void soc_enable(struct device *dev)
}
struct chip_operations soc_ti_am335x_ops = {
- CHIP_NAME("TI AM335X")
+ .name = "TI AM335X",
.enable_dev = soc_enable,
};
diff --git a/src/soc/ucb/riscv/chip.c b/src/soc/ucb/riscv/chip.c
index 187e96d27445..2e0f528128eb 100644
--- a/src/soc/ucb/riscv/chip.c
+++ b/src/soc/ucb/riscv/chip.c
@@ -3,5 +3,5 @@
#include <device/device.h>
struct chip_operations soc_ucb_riscv_ops = {
- CHIP_NAME("UCB RISC-V")
+ .name = "UCB RISC-V",
};
diff --git a/src/southbridge/amd/pi/hudson/hudson.c b/src/southbridge/amd/pi/hudson/hudson.c
index 59e293f70fff..26fb25887904 100644
--- a/src/southbridge/amd/pi/hudson/hudson.c
+++ b/src/southbridge/amd/pi/hudson/hudson.c
@@ -92,7 +92,7 @@ static void hudson_final(void *chip_info)
}
struct chip_operations southbridge_amd_pi_hudson_ops = {
- CHIP_NAME("ATI HUDSON")
+ .name = "ATI HUDSON",
.enable_dev = hudson_enable,
.init = hudson_init,
.final = hudson_final
diff --git a/src/southbridge/intel/bd82x6x/pch.c b/src/southbridge/intel/bd82x6x/pch.c
index 32ed5cd4a912..1a9c2aee1995 100644
--- a/src/southbridge/intel/bd82x6x/pch.c
+++ b/src/southbridge/intel/bd82x6x/pch.c
@@ -358,6 +358,6 @@ void pch_enable(struct device *dev)
}
struct chip_operations southbridge_intel_bd82x6x_ops = {
- CHIP_NAME("Intel Series 6/7 (Cougar Point/Panther Point) Southbridge")
+ .name = "Intel Series 6/7 (Cougar Point/Panther Point) Southbridge",
.enable_dev = pch_enable,
};
diff --git a/src/southbridge/intel/i82371eb/i82371eb.c b/src/southbridge/intel/i82371eb/i82371eb.c
index ce07152ad0d7..7c96fc375a90 100644
--- a/src/southbridge/intel/i82371eb/i82371eb.c
+++ b/src/southbridge/intel/i82371eb/i82371eb.c
@@ -35,5 +35,5 @@
#include <device/device.h>
const struct chip_operations southbridge_intel_i82371eb_ops = {
- CHIP_NAME("Intel 82371FB/SB/MX/AB/EB/MB Southbridge")
+ .name = "Intel 82371FB/SB/MX/AB/EB/MB Southbridge",
};
diff --git a/src/southbridge/intel/i82801dx/i82801dx.c b/src/southbridge/intel/i82801dx/i82801dx.c
index ea906561a629..7a70902794e7 100644
--- a/src/southbridge/intel/i82801dx/i82801dx.c
+++ b/src/southbridge/intel/i82801dx/i82801dx.c
@@ -64,6 +64,6 @@ void i82801dx_enable(struct device *dev)
}
struct chip_operations southbridge_intel_i82801dx_ops = {
- CHIP_NAME("Intel ICH4/ICH4-M (82801Dx) Series Southbridge")
- .enable_dev = i82801dx_enable,
+ .name = "Intel ICH4/ICH4-M (82801Dx) Series Southbridge",
+ .enable_dev = i82801dx_enable,
};
diff --git a/src/southbridge/intel/i82801gx/i82801gx.c b/src/southbridge/intel/i82801gx/i82801gx.c
index 478309957066..86db048cd6d0 100644
--- a/src/southbridge/intel/i82801gx/i82801gx.c
+++ b/src/southbridge/intel/i82801gx/i82801gx.c
@@ -83,7 +83,7 @@ static void i82801gx_init(void *chip_info)
}
struct chip_operations southbridge_intel_i82801gx_ops = {
- CHIP_NAME("Intel ICH7/ICH7-M (82801Gx) Series Southbridge")
+ .name = "Intel ICH7/ICH7-M (82801Gx) Series Southbridge",
.enable_dev = i82801gx_enable,
.init = i82801gx_init,
};
diff --git a/src/southbridge/intel/i82801ix/i82801ix.c b/src/southbridge/intel/i82801ix/i82801ix.c
index 846c9d8f57b7..3d565944efc0 100644
--- a/src/southbridge/intel/i82801ix/i82801ix.c
+++ b/src/southbridge/intel/i82801ix/i82801ix.c
@@ -203,7 +203,7 @@ static void i82801ix_init(void *chip_info)
}
struct chip_operations southbridge_intel_i82801ix_ops = {
- CHIP_NAME("Intel ICH9/ICH9-M (82801Ix) Series Southbridge")
+ .name = "Intel ICH9/ICH9-M (82801Ix) Series Southbridge",
.enable_dev = i82801ix_enable_device,
.init = i82801ix_init,
};
diff --git a/src/southbridge/intel/i82801jx/i82801jx.c b/src/southbridge/intel/i82801jx/i82801jx.c
index 6f90301419da..6f10be0e9f1f 100644
--- a/src/southbridge/intel/i82801jx/i82801jx.c
+++ b/src/southbridge/intel/i82801jx/i82801jx.c
@@ -194,7 +194,7 @@ static void i82801jx_init(void *chip_info)
}
struct chip_operations southbridge_intel_i82801jx_ops = {
- CHIP_NAME("Intel ICH10 (82801Jx) Series Southbridge")
+ .name = "Intel ICH10 (82801Jx) Series Southbridge",
.enable_dev = i82801jx_enable_device,
.init = i82801jx_init,
};
diff --git a/src/southbridge/intel/i82870/pcibridge.c b/src/southbridge/intel/i82870/pcibridge.c
index 00bf6bb1cf4e..4ca801027c96 100644
--- a/src/southbridge/intel/i82870/pcibridge.c
+++ b/src/southbridge/intel/i82870/pcibridge.c
@@ -38,5 +38,5 @@ static const struct pci_driver pcix_driver __pci_driver = {
};
struct chip_operations southbridge_intel_i82870_ops = {
- CHIP_NAME("Intel 82870")
+ .name = "Intel 82870",
};
diff --git a/src/southbridge/intel/ibexpeak/pch.c b/src/southbridge/intel/ibexpeak/pch.c
index 23768edabe93..f77dc629cfb0 100644
--- a/src/southbridge/intel/ibexpeak/pch.c
+++ b/src/southbridge/intel/ibexpeak/pch.c
@@ -84,6 +84,6 @@ void pch_enable(struct device *dev)
}
struct chip_operations southbridge_intel_ibexpeak_ops = {
- CHIP_NAME("Intel Series 5 (Ibexpeak) Southbridge")
+ .name = "Intel Series 5 (Ibexpeak) Southbridge",
.enable_dev = pch_enable,
};
diff --git a/src/southbridge/intel/lynxpoint/pch.c b/src/southbridge/intel/lynxpoint/pch.c
index 8b037a9dd09c..ae4e71481f70 100644
--- a/src/southbridge/intel/lynxpoint/pch.c
+++ b/src/southbridge/intel/lynxpoint/pch.c
@@ -199,7 +199,7 @@ void pch_enable(struct device *dev)
}
struct chip_operations southbridge_intel_lynxpoint_ops = {
- CHIP_NAME("Intel Series 8 (Lynx Point) Southbridge")
+ .name = "Intel Series 8 (Lynx Point) Southbridge",
.enable_dev = pch_enable,
};
diff --git a/src/southbridge/ricoh/rl5c476/rl5c476.c b/src/southbridge/ricoh/rl5c476/rl5c476.c
index 23476ece2c74..f78f816cfceb 100644
--- a/src/southbridge/ricoh/rl5c476/rl5c476.c
+++ b/src/southbridge/ricoh/rl5c476/rl5c476.c
@@ -215,6 +215,6 @@ static void southbridge_init(struct device *dev)
}
struct chip_operations southbridge_ricoh_rl5c476_ops = {
- CHIP_NAME("Ricoh RL5C476 CardBus Controller")
+ .name = "Ricoh RL5C476 CardBus Controller",
.enable_dev = southbridge_init,
};
diff --git a/src/southbridge/ti/pci1x2x/pci1x2x.c b/src/southbridge/ti/pci1x2x/pci1x2x.c
index ccd3ce941d90..55d37af31925 100644
--- a/src/southbridge/ti/pci1x2x/pci1x2x.c
+++ b/src/southbridge/ti/pci1x2x/pci1x2x.c
@@ -73,5 +73,5 @@ static const struct pci_driver ti_pci1520_driver __pci_driver = {
};
struct chip_operations southbridge_ti_pci1x2x_ops = {
- CHIP_NAME("TI PCI1x2x Cardbus controller")
+ .name = "TI PCI1x2x Cardbus controller",
};
diff --git a/src/southbridge/ti/pci7420/cardbus.c b/src/southbridge/ti/pci7420/cardbus.c
index 6ef08a306743..16fdf4404f42 100644
--- a/src/southbridge/ti/pci7420/cardbus.c
+++ b/src/southbridge/ti/pci7420/cardbus.c
@@ -80,5 +80,5 @@ static const struct pci_driver ti_pci7620_driver __pci_driver = {
};
struct chip_operations southbridge_ti_pci7420_ops = {
- CHIP_NAME("Texas Instruments PCI7420/7620 Cardbus Controller")
+ .name = "Texas Instruments PCI7420/7620 Cardbus Controller",
};
diff --git a/src/superio/aspeed/ast2400/superio.c b/src/superio/aspeed/ast2400/superio.c
index 4510c21ea472..51c646458da1 100644
--- a/src/superio/aspeed/ast2400/superio.c
+++ b/src/superio/aspeed/ast2400/superio.c
@@ -103,6 +103,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_aspeed_ast2400_ops = {
- CHIP_NAME("ASpeed AST2400/AST2500 Super I/O")
+ .name = "ASpeed AST2400/AST2500 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/common/generic.c b/src/superio/common/generic.c
index c6903402a049..1758accbff17 100644
--- a/src/superio/common/generic.c
+++ b/src/superio/common/generic.c
@@ -324,6 +324,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_common_ops = {
- CHIP_NAME("Generic Super I/O")
+ .name = "Generic Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/fintek/f71808a/superio.c b/src/superio/fintek/f71808a/superio.c
index 17fa379df43b..885d3f7586a4 100644
--- a/src/superio/fintek/f71808a/superio.c
+++ b/src/superio/fintek/f71808a/superio.c
@@ -51,6 +51,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_fintek_f71808a_ops = {
- CHIP_NAME("Fintek F71808A Super I/O")
+ .name = "Fintek F71808A Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/fintek/f71859/superio.c b/src/superio/fintek/f71859/superio.c
index 1f4424954f71..628d4c952ba0 100644
--- a/src/superio/fintek/f71859/superio.c
+++ b/src/superio/fintek/f71859/superio.c
@@ -33,6 +33,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_fintek_f71859_ops = {
- CHIP_NAME("Fintek F71859 Super I/O")
+ .name = "Fintek F71859 Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/fintek/f71863fg/superio.c b/src/superio/fintek/f71863fg/superio.c
index c4e8dc98733b..6f1735d7a259 100644
--- a/src/superio/fintek/f71863fg/superio.c
+++ b/src/superio/fintek/f71863fg/superio.c
@@ -50,6 +50,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_fintek_f71863fg_ops = {
- CHIP_NAME("Fintek F71863FG Super I/O")
+ .name = "Fintek F71863FG Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/fintek/f71869ad/superio.c b/src/superio/fintek/f71869ad/superio.c
index 3cfd387df474..a4affee0d88c 100644
--- a/src/superio/fintek/f71869ad/superio.c
+++ b/src/superio/fintek/f71869ad/superio.c
@@ -107,6 +107,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_fintek_f71869ad_ops = {
- CHIP_NAME("Fintek F71869AD Super I/O")
+ .name = "Fintek F71869AD Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/fintek/f81803a/superio.c b/src/superio/fintek/f81803a/superio.c
index 5304f9edc6f4..4d4e8bc461c2 100644
--- a/src/superio/fintek/f81803a/superio.c
+++ b/src/superio/fintek/f81803a/superio.c
@@ -57,6 +57,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_fintek_f81803a_ops = {
- CHIP_NAME("Fintek F81803A Super I/O")
+ .name = "Fintek F81803A Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/fintek/f81865f/superio.c b/src/superio/fintek/f81865f/superio.c
index 9181bad98776..70fefe50cbfa 100644
--- a/src/superio/fintek/f81865f/superio.c
+++ b/src/superio/fintek/f81865f/superio.c
@@ -48,6 +48,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_fintek_f81865f_ops = {
- CHIP_NAME("Fintek F81865F Super I/O")
+ .name = "Fintek F81865F Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/fintek/f81866d/superio.c b/src/superio/fintek/f81866d/superio.c
index 3803230d5576..6bcf311045f4 100644
--- a/src/superio/fintek/f81866d/superio.c
+++ b/src/superio/fintek/f81866d/superio.c
@@ -73,6 +73,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_fintek_f81866d_ops = {
- CHIP_NAME("Fintek F81866AD-I Super I/O")
+ .name = "Fintek F81866AD-I Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/ite/it8528e/superio.c b/src/superio/ite/it8528e/superio.c
index d135c0b57382..97d8850a8722 100644
--- a/src/superio/ite/it8528e/superio.c
+++ b/src/superio/ite/it8528e/superio.c
@@ -49,6 +49,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8528e_ops = {
- CHIP_NAME("ITE IT8528E Super I/O")
+ .name = "ITE IT8528E Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8613e/superio.c b/src/superio/ite/it8613e/superio.c
index c18c3ec35784..78241b21dbcc 100644
--- a/src/superio/ite/it8613e/superio.c
+++ b/src/superio/ite/it8613e/superio.c
@@ -63,6 +63,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8613e_ops = {
- CHIP_NAME("ITE IT8613E Super I/O")
+ .name = "ITE IT8613E Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8623e/superio.c b/src/superio/ite/it8623e/superio.c
index 15e0071db851..7800a3453a35 100644
--- a/src/superio/ite/it8623e/superio.c
+++ b/src/superio/ite/it8623e/superio.c
@@ -60,6 +60,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8623e_ops = {
- CHIP_NAME("ITE IT8623E Super I/O")
+ .name = "ITE IT8623E Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8712f/superio.c b/src/superio/ite/it8712f/superio.c
index 17a1976421c1..03127b5fed84 100644
--- a/src/superio/ite/it8712f/superio.c
+++ b/src/superio/ite/it8712f/superio.c
@@ -65,6 +65,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8712f_ops = {
- CHIP_NAME("ITE IT8712F Super I/O")
+ .name = "ITE IT8712F Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8718f/superio.c b/src/superio/ite/it8718f/superio.c
index 1243e75fcfc9..fafe30d61d2d 100644
--- a/src/superio/ite/it8718f/superio.c
+++ b/src/superio/ite/it8718f/superio.c
@@ -71,6 +71,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8718f_ops = {
- CHIP_NAME("ITE IT8718F Super I/O")
+ .name = "ITE IT8718F Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8720f/superio.c b/src/superio/ite/it8720f/superio.c
index 75d0be9c0296..4491c101349e 100644
--- a/src/superio/ite/it8720f/superio.c
+++ b/src/superio/ite/it8720f/superio.c
@@ -112,6 +112,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8720f_ops = {
- CHIP_NAME("ITE IT8720F Super I/O")
+ .name = "ITE IT8720F Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8721f/superio.c b/src/superio/ite/it8721f/superio.c
index f69e1b0a368e..801e27b2784e 100644
--- a/src/superio/ite/it8721f/superio.c
+++ b/src/superio/ite/it8721f/superio.c
@@ -63,6 +63,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8721f_ops = {
- CHIP_NAME("ITE IT8721F Super I/O")
+ .name = "ITE IT8721F Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8728f/superio.c b/src/superio/ite/it8728f/superio.c
index 67ef2181fdff..5e4c2fddb8ce 100644
--- a/src/superio/ite/it8728f/superio.c
+++ b/src/superio/ite/it8728f/superio.c
@@ -60,6 +60,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8728f_ops = {
- CHIP_NAME("ITE IT8728F Super I/O")
+ .name = "ITE IT8728F Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/ite/it8772f/superio.c b/src/superio/ite/it8772f/superio.c
index 82f30fa6cd36..177136818ccf 100644
--- a/src/superio/ite/it8772f/superio.c
+++ b/src/superio/ite/it8772f/superio.c
@@ -268,6 +268,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8772f_ops = {
- CHIP_NAME("ITE IT8772F Super I/O")
+ .name = "ITE IT8772F Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8783ef/superio.c b/src/superio/ite/it8783ef/superio.c
index d90ae5f3b77a..618ea3feefbb 100644
--- a/src/superio/ite/it8783ef/superio.c
+++ b/src/superio/ite/it8783ef/superio.c
@@ -88,6 +88,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8783ef_ops = {
- CHIP_NAME("ITE IT8783E/F Super I/O")
+ .name = "ITE IT8783E/F Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8784e/superio.c b/src/superio/ite/it8784e/superio.c
index 85fc42ea608b..1caa837755a2 100644
--- a/src/superio/ite/it8784e/superio.c
+++ b/src/superio/ite/it8784e/superio.c
@@ -82,6 +82,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8784e_ops = {
- CHIP_NAME("ITE IT8784E Super I/O")
+ .name = "ITE IT8784E Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/ite/it8786e/superio.c b/src/superio/ite/it8786e/superio.c
index 8d9ec1477e87..f610fdf49e95 100644
--- a/src/superio/ite/it8786e/superio.c
+++ b/src/superio/ite/it8786e/superio.c
@@ -98,6 +98,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_ite_it8786e_ops = {
- CHIP_NAME("ITE IT8786E Super I/O")
+ .name = "ITE IT8786E Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nsc/pc87382/superio.c b/src/superio/nsc/pc87382/superio.c
index 355aca49ab2b..c60e84547cfb 100644
--- a/src/superio/nsc/pc87382/superio.c
+++ b/src/superio/nsc/pc87382/superio.c
@@ -41,6 +41,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nsc_pc87382_ops = {
- CHIP_NAME("NSC PC87382 Docking LPC Switch")
+ .name = "NSC PC87382 Docking LPC Switch",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nsc/pc87384/superio.c b/src/superio/nsc/pc87384/superio.c
index 88d4d3699089..60e0994281f4 100644
--- a/src/superio/nsc/pc87384/superio.c
+++ b/src/superio/nsc/pc87384/superio.c
@@ -25,6 +25,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nsc_pc87384_ops = {
- CHIP_NAME("NSC PC87384 Super I/O")
+ .name = "NSC PC87384 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nsc/pc87392/superio.c b/src/superio/nsc/pc87392/superio.c
index e65afeab6eed..551249d78fa5 100644
--- a/src/superio/nsc/pc87392/superio.c
+++ b/src/superio/nsc/pc87392/superio.c
@@ -35,6 +35,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nsc_pc87392_ops = {
- CHIP_NAME("NSC PC87392 Super I/O")
+ .name = "NSC PC87392 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nsc/pc87417/superio.c b/src/superio/nsc/pc87417/superio.c
index be99f7f03165..ac01c4618f8d 100644
--- a/src/superio/nsc/pc87417/superio.c
+++ b/src/superio/nsc/pc87417/superio.c
@@ -46,6 +46,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nsc_pc87417_ops = {
- CHIP_NAME("NSC PC87417 Super I/O")
+ .name = "NSC PC87417 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nuvoton/nct5104d/superio.c b/src/superio/nuvoton/nct5104d/superio.c
index cfa22280fc86..33533696a8ec 100644
--- a/src/superio/nuvoton/nct5104d/superio.c
+++ b/src/superio/nuvoton/nct5104d/superio.c
@@ -232,6 +232,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nuvoton_nct5104d_ops = {
- CHIP_NAME("Nuvoton NCT5104D Super I/O")
+ .name = "Nuvoton NCT5104D Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nuvoton/nct5539d/superio.c b/src/superio/nuvoton/nct5539d/superio.c
index ff37f5cefd38..cef40a546eed 100644
--- a/src/superio/nuvoton/nct5539d/superio.c
+++ b/src/superio/nuvoton/nct5539d/superio.c
@@ -95,6 +95,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nuvoton_nct5539d_ops = {
- CHIP_NAME("NUVOTON NCT5539D Super I/O")
+ .name = "NUVOTON NCT5539D Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nuvoton/nct5572d/superio.c b/src/superio/nuvoton/nct5572d/superio.c
index 7e893eee5452..34fa016ac88b 100644
--- a/src/superio/nuvoton/nct5572d/superio.c
+++ b/src/superio/nuvoton/nct5572d/superio.c
@@ -104,6 +104,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nuvoton_nct5572d_ops = {
- CHIP_NAME("NUVOTON NCT5572D Super I/O")
+ .name = "NUVOTON NCT5572D Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nuvoton/nct6687d/superio.c b/src/superio/nuvoton/nct6687d/superio.c
index a2eea8c50f6c..c28092736f4e 100644
--- a/src/superio/nuvoton/nct6687d/superio.c
+++ b/src/superio/nuvoton/nct6687d/superio.c
@@ -87,6 +87,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nuvoton_nct6687d_ops = {
- CHIP_NAME("NUVOTON NCT6687D Super I/O")
+ .name = "NUVOTON NCT6687D Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nuvoton/nct6776/superio.c b/src/superio/nuvoton/nct6776/superio.c
index 4197d54ad3e3..d98e303b96d5 100644
--- a/src/superio/nuvoton/nct6776/superio.c
+++ b/src/superio/nuvoton/nct6776/superio.c
@@ -67,6 +67,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nuvoton_nct6776_ops = {
- CHIP_NAME("NUVOTON NCT6776 Super I/O")
+ .name = "NUVOTON NCT6776 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nuvoton/nct6779d/superio.c b/src/superio/nuvoton/nct6779d/superio.c
index 77058b0bc3d5..13604769ab10 100644
--- a/src/superio/nuvoton/nct6779d/superio.c
+++ b/src/superio/nuvoton/nct6779d/superio.c
@@ -62,6 +62,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nuvoton_nct6779d_ops = {
- CHIP_NAME("NUVOTON NCT6779D Super I/O")
+ .name = "NUVOTON NCT6779D Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nuvoton/nct6791d/superio.c b/src/superio/nuvoton/nct6791d/superio.c
index 3244e05fb221..91a39084a99d 100644
--- a/src/superio/nuvoton/nct6791d/superio.c
+++ b/src/superio/nuvoton/nct6791d/superio.c
@@ -102,6 +102,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nuvoton_nct6791d_ops = {
- CHIP_NAME("NUVOTON NCT6791D Super I/O")
+ .name = "NUVOTON NCT6791D Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nuvoton/npcd378/superio.c b/src/superio/nuvoton/npcd378/superio.c
index 615bae5433b1..a4759fb7211e 100644
--- a/src/superio/nuvoton/npcd378/superio.c
+++ b/src/superio/nuvoton/npcd378/superio.c
@@ -460,6 +460,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nuvoton_npcd378_ops = {
- CHIP_NAME("NUVOTON NPCD378 Super I/O")
+ .name = "NUVOTON NPCD378 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/nuvoton/wpcm450/superio.c b/src/superio/nuvoton/wpcm450/superio.c
index 45c2e93ca7e8..863ad2b98573 100644
--- a/src/superio/nuvoton/wpcm450/superio.c
+++ b/src/superio/nuvoton/wpcm450/superio.c
@@ -40,6 +40,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_nuvoton_wpcm450_ops = {
- CHIP_NAME("Nuvoton WPCM450 Super I/O")
+ .name = "Nuvoton WPCM450 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/renesas/m3885x/superio.c b/src/superio/renesas/m3885x/superio.c
index 293fe0efb9d0..6b7125631f5d 100644
--- a/src/superio/renesas/m3885x/superio.c
+++ b/src/superio/renesas/m3885x/superio.c
@@ -45,6 +45,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_renesas_m3885x_ops = {
- CHIP_NAME("Renesas M3885x Super I/O")
+ .name = "Renesas M3885x Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/smsc/fdc37n972/superio.c b/src/superio/smsc/fdc37n972/superio.c
index a62bba86234b..ba197d8422da 100644
--- a/src/superio/smsc/fdc37n972/superio.c
+++ b/src/superio/smsc/fdc37n972/superio.c
@@ -46,6 +46,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_smsc_fdc37n972_ops = {
- CHIP_NAME("SMSC FDC37N972 Super I/O")
+ .name = "SMSC FDC37N972 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/smsc/kbc1100/superio.c b/src/superio/smsc/kbc1100/superio.c
index 862a77bd1361..74f2326bd305 100644
--- a/src/superio/smsc/kbc1100/superio.c
+++ b/src/superio/smsc/kbc1100/superio.c
@@ -14,7 +14,7 @@ static void enable_dev(struct device *dev);
static void kbc1100_init(struct device *dev);
struct chip_operations superio_smsc_kbc1100_ops = {
- CHIP_NAME("SMSC KBC1100 Super I/O")
+ .name = "SMSC KBC1100 Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/smsc/lpc47m10x/superio.c b/src/superio/smsc/lpc47m10x/superio.c
index cb297a5b14cd..157275ea7e13 100644
--- a/src/superio/smsc/lpc47m10x/superio.c
+++ b/src/superio/smsc/lpc47m10x/superio.c
@@ -58,6 +58,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_smsc_lpc47m10x_ops = {
- CHIP_NAME("SMSC LPC47M10x Super I/O")
+ .name = "SMSC LPC47M10x Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/smsc/lpc47m15x/superio.c b/src/superio/smsc/lpc47m15x/superio.c
index e1e4883ba67a..6f57133c82d4 100644
--- a/src/superio/smsc/lpc47m15x/superio.c
+++ b/src/superio/smsc/lpc47m15x/superio.c
@@ -14,7 +14,7 @@ static void enable_dev(struct device *dev);
static void lpc47m15x_init(struct device *dev);
struct chip_operations superio_smsc_lpc47m15x_ops = {
- CHIP_NAME("SMSC LPC47M15x/192/997 Super I/O")
+ .name = "SMSC LPC47M15x/192/997 Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c
index dcaf6e760b71..c59ce2d7ca78 100644
--- a/src/superio/smsc/lpc47n217/superio.c
+++ b/src/superio/smsc/lpc47n217/superio.c
@@ -25,7 +25,7 @@ static void pnp_enter_conf_state(struct device *dev);
static void pnp_exit_conf_state(struct device *dev);
struct chip_operations superio_smsc_lpc47n217_ops = {
- CHIP_NAME("SMSC LPC47N217 Super I/O")
+ .name = "SMSC LPC47N217 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/smsc/lpc47n227/superio.c b/src/superio/smsc/lpc47n227/superio.c
index 37123509a955..edcc2717c9d1 100644
--- a/src/superio/smsc/lpc47n227/superio.c
+++ b/src/superio/smsc/lpc47n227/superio.c
@@ -24,7 +24,7 @@ void lpc47n227_pnp_set_irq(struct device *dev, u8 irq);
void lpc47n227_pnp_set_enable(struct device *dev, int enable);
struct chip_operations superio_smsc_lpc47n227_ops = {
- CHIP_NAME("SMSC LPC47N227 Super I/O")
+ .name = "SMSC LPC47N227 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/smsc/mec1308/superio.c b/src/superio/smsc/mec1308/superio.c
index 6c8597c0a80b..39e100ece9e7 100644
--- a/src/superio/smsc/mec1308/superio.c
+++ b/src/superio/smsc/mec1308/superio.c
@@ -47,6 +47,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_smsc_mec1308_ops = {
- CHIP_NAME("SMSC MEC1308 EC SuperIO Interface")
+ .name = "SMSC MEC1308 EC SuperIO Interface",
.enable_dev = enable_dev
};
diff --git a/src/superio/smsc/sch5545/superio.c b/src/superio/smsc/sch5545/superio.c
index 1ce1fd61aab1..7b8e5a063e42 100644
--- a/src/superio/smsc/sch5545/superio.c
+++ b/src/superio/smsc/sch5545/superio.c
@@ -303,6 +303,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_smsc_sch5545_ops = {
- CHIP_NAME("SMSC SCH5545 Super I/O")
+ .name = "SMSC SCH5545 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/smsc/sch555x/ramstage.c b/src/superio/smsc/sch555x/ramstage.c
index 2245001af22c..1cdd8697ceeb 100644
--- a/src/superio/smsc/sch555x/ramstage.c
+++ b/src/superio/smsc/sch555x/ramstage.c
@@ -136,6 +136,6 @@ static void sch555x_enable_dev(struct device *dev)
}
struct chip_operations superio_smsc_sch555x_ops = {
- CHIP_NAME("SMSC SCH555x Super I/O")
+ .name = "SMSC SCH555x Super I/O",
.enable_dev = sch555x_enable_dev,
};
diff --git a/src/superio/smsc/sio1036/superio.c b/src/superio/smsc/sio1036/superio.c
index 3dcaae8ddef3..8b1704f83ca4 100644
--- a/src/superio/smsc/sio1036/superio.c
+++ b/src/superio/smsc/sio1036/superio.c
@@ -33,6 +33,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_smsc_sio1036_ops = {
- CHIP_NAME("SMSC SIO1036 Super I/O")
+ .name = "SMSC SIO1036 Super I/O",
.enable_dev = enable_dev
};
diff --git a/src/superio/smsc/sio10n268/superio.c b/src/superio/smsc/sio10n268/superio.c
index ca5a0c69f1ba..fa79a57a9b4c 100644
--- a/src/superio/smsc/sio10n268/superio.c
+++ b/src/superio/smsc/sio10n268/superio.c
@@ -43,6 +43,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_smsc_sio10n268_ops = {
- CHIP_NAME("SMSC SIO10N268 Super I/O")
+ .name = "SMSC SIO10N268 Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/smsc/smscsuperio/superio.c b/src/superio/smsc/smscsuperio/superio.c
index a182d90d30c4..3ba82169617b 100644
--- a/src/superio/smsc/smscsuperio/superio.c
+++ b/src/superio/smsc/smscsuperio/superio.c
@@ -281,6 +281,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_smsc_smscsuperio_ops = {
- CHIP_NAME("Various SMSC Super I/Os")
+ .name = "Various SMSC Super I/Os",
.enable_dev = enable_dev
};
diff --git a/src/superio/winbond/w83627dhg/superio.c b/src/superio/winbond/w83627dhg/superio.c
index 2641cb324bb4..491b5c9c6d70 100644
--- a/src/superio/winbond/w83627dhg/superio.c
+++ b/src/superio/winbond/w83627dhg/superio.c
@@ -68,6 +68,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_winbond_w83627dhg_ops = {
- CHIP_NAME("Winbond W83627DHG Super I/O")
+ .name = "Winbond W83627DHG Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/winbond/w83627ehg/superio.c b/src/superio/winbond/w83627ehg/superio.c
index 1e36048146d6..03dce827cb67 100644
--- a/src/superio/winbond/w83627ehg/superio.c
+++ b/src/superio/winbond/w83627ehg/superio.c
@@ -129,6 +129,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_winbond_w83627ehg_ops = {
- CHIP_NAME("Winbond W83627EHG Super I/O")
+ .name = "Winbond W83627EHG Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/winbond/w83627hf/superio.c b/src/superio/winbond/w83627hf/superio.c
index de2a0c6491d1..f0c5b2870d14 100644
--- a/src/superio/winbond/w83627hf/superio.c
+++ b/src/superio/winbond/w83627hf/superio.c
@@ -129,6 +129,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_winbond_w83627hf_ops = {
- CHIP_NAME("Winbond W83627HF Super I/O")
+ .name = "Winbond W83627HF Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/winbond/w83627thg/superio.c b/src/superio/winbond/w83627thg/superio.c
index 4276da6f5b6c..156239f1a338 100644
--- a/src/superio/winbond/w83627thg/superio.c
+++ b/src/superio/winbond/w83627thg/superio.c
@@ -50,6 +50,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_winbond_w83627thg_ops = {
- CHIP_NAME("Winbond W83627THG Super I/O")
+ .name = "Winbond W83627THG Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/winbond/w83627uhg/superio.c b/src/superio/winbond/w83627uhg/superio.c
index 4b54bac98d36..e276fc5e0865 100644
--- a/src/superio/winbond/w83627uhg/superio.c
+++ b/src/superio/winbond/w83627uhg/superio.c
@@ -101,6 +101,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_winbond_w83627uhg_ops = {
- CHIP_NAME("Winbond W83627UHG Super I/O")
+ .name = "Winbond W83627UHG Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/winbond/w83667hg-a/superio.c b/src/superio/winbond/w83667hg-a/superio.c
index a5abe6181807..4cddf201875e 100644
--- a/src/superio/winbond/w83667hg-a/superio.c
+++ b/src/superio/winbond/w83667hg-a/superio.c
@@ -103,6 +103,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_winbond_w83667hg_a_ops = {
- CHIP_NAME("WINBOND W83667HG-A Super I/O")
+ .name = "WINBOND W83667HG-A Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/winbond/w83977tf/superio.c b/src/superio/winbond/w83977tf/superio.c
index 4187b52a4293..28bfc8c4cdf0 100644
--- a/src/superio/winbond/w83977tf/superio.c
+++ b/src/superio/winbond/w83977tf/superio.c
@@ -50,6 +50,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_winbond_w83977tf_ops = {
- CHIP_NAME("Winbond W83977TF Super I/O")
+ .name = "Winbond W83977TF Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/superio/winbond/wpcd376i/superio.c b/src/superio/winbond/wpcd376i/superio.c
index a692eeb25d98..635d02512b2a 100644
--- a/src/superio/winbond/wpcd376i/superio.c
+++ b/src/superio/winbond/wpcd376i/superio.c
@@ -61,6 +61,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations superio_winbond_wpcd376i_ops = {
- CHIP_NAME("Winbond WPCD376I Super I/O")
+ .name = "Winbond WPCD376I Super I/O",
.enable_dev = enable_dev,
};
diff --git a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c
index 89314ba8d71b..9e9e8860342a 100644
--- a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c
+++ b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c
@@ -10,7 +10,7 @@
#include "../opensil.h"
struct chip_operations vendorcode_amd_opensil_genoa_poc_mpio_ops = {
- CHIP_NAME("AMD GENOA MPIO")
+ .name = "AMD GENOA MPIO",
};
static void nbio_config(void)