Commit 158d0f37 authored by Hans de Goede's avatar Hans de Goede Committed by Rafael J. Wysocki
Browse files

ACPI: resource: Fold Asus ExpertBook B1402C* and B1502C* DMI quirks together



Asus has 2 ExpertBook B1402C models:

B1402CBA with 12th gen Intel CPUs
B1402CVA with 13th gen Intel CPUs

Fold the 2 DMI quirks for these into a single quirk to reduce the number
of quirks.

Likewise Asus has 3 ExpertBook B1502C models:

B1502CBA with 12th gen Intel CPUs
B1502CGA with 12th gen Intel N-series CPUs
B1502CVA with 13th gen Intel CPUs

Fold the 3 DMI quirks for these into a single quirk to reduce the number
of quirks.

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20241005212819.354681-4-hdegoede@redhat.com


Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 435f2d87
Loading
Loading
Loading
Loading
+4 −25
Original line number Diff line number Diff line
@@ -448,38 +448,17 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
		},
	},
	{
		/* Asus ExpertBook B1402CBA */
		/* Asus ExpertBook B1402C* */
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
			DMI_MATCH(DMI_BOARD_NAME, "B1402CBA"),
			DMI_MATCH(DMI_BOARD_NAME, "B1402C"),
		},
	},
	{
		/* Asus ExpertBook B1402CVA */
		/* Asus ExpertBook B1502C* */
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
			DMI_MATCH(DMI_BOARD_NAME, "B1402CVA"),
		},
	},
	{
		/* Asus ExpertBook B1502CBA */
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
			DMI_MATCH(DMI_BOARD_NAME, "B1502CBA"),
		},
	},
	{
		/* Asus ExpertBook B1502CGA */
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
			DMI_MATCH(DMI_BOARD_NAME, "B1502CGA"),
		},
	},
        {
                /* Asus ExpertBook B1502CVA */
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
                        DMI_MATCH(DMI_BOARD_NAME, "B1502CVA"),
			DMI_MATCH(DMI_BOARD_NAME, "B1502C"),
		},
	},
	{