include/device/device.h: Remove CHIP_NAME() macro
Macros can be confusing on their own; hiding commas make things worse. This can sometimes be downright misleading. A "good" example would be the code in soc/intel/xeon_sp/spr/chip.c: CHIP_NAME("Intel SapphireRapids-SP").enable_dev = chip_enable_dev, This appears as CHIP_NAME() being some struct when in fact these are defining 2 separate members of the same struct. It was decided to remove this macro altogether, as it does not do anything special and incurs a maintenance burden. Change-Id: Iaed6dfb144bddcf5c43634b0c955c19afce388f0 Signed-off-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80239 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Jakub Czapiga <czapiga@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
This commit is contained in:
parent
f4c496d3e3
commit
bfb11bec3b
236 changed files with 239 additions and 240 deletions
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -188,5 +188,5 @@ struct device_operations pi608gp_ops = {
|
|||
};
|
||||
|
||||
struct chip_operations drivers_i2c_pi608gp_ops = {
|
||||
CHIP_NAME("PI7C9X2G608GP")
|
||||
.name = "PI7C9X2G608GP",
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -97,5 +97,5 @@ struct device_operations m88e1512_ops = {
|
|||
};
|
||||
|
||||
struct chip_operations drivers_net_phy_m88e1512_ops = {
|
||||
CHIP_NAME("88E1512")
|
||||
.name = "88E1512",
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue