platform/x86: dell-laptop: Removed duplicates in DMI whitelist
PATCH 1/1 platform/x86: dell-laptop: Removed duplicates in DMI whitelist
Fixed a mistake in which several entries were duplicated in the DMI list from the below commitfe486138 platform/x86: dell-laptop: Add 2-in-1 devices to the DMI whitelist
Signed-off-by Alexander Abrosimov <[email protected]>
--- drivers/platform/x86/dell-laptop.c | 18 ------------------ 1 file changed, 18 deletions(-)
drivers/platform/x86/dell-laptop.c +0 -18
@@ -125,28 +125,10 @@ static const struct dmi_system_id dell_device_table[] __initconst = {DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), DMI_MATCH(DMI_CHASSIS_TYPE, "32"), /*Detachable*/ }, }, { - .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), - DMI_MATCH(DMI_CHASSIS_TYPE, "30"), /*Tablet*/ - }, - }, - { - .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), - DMI_MATCH(DMI_CHASSIS_TYPE, "31"), /*Convertible*/ - }, - }, - { - .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), - DMI_MATCH(DMI_CHASSIS_TYPE, "32"), /*Detachable*/ - }, - }, - { .ident ="Dell Computer Corporation" , .matches = {DMI_MATCH (DMI_SYS_VENDOR ,"Dell Computer Corporation" ), DMI_MATCH(DMI_CHASSIS_TYPE, "8"), },
Signature · 1 line
2.13.6
Quoted 4 lines · Alexander Abrosimov
Fixed a mistake in which several entries were duplicated in the DMI list from the below commit
fe486138platform/x86: dell-laptop: Add 2-in-1 devices to the DMI whitelist
Pushed to my review and testing queue, thanks!
(Would be material for v4.17 cycle)
Quoted 41 lines
Signed-off-by Alexander Abrosimov <[email protected]>--- drivers/platform/x86/dell-laptop.c | 18 ------------------ 1 file changed, 18 deletions(-)drivers/platform/x86/dell-laptop.c +0
-19@@ -125,28 +125,10 @@ static const struct dmi_system_id dell_device_table[] __initconst = {DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), DMI_MATCH(DMI_CHASSIS_TYPE, "32"), /*Detachable*/ }, }, { - .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), - DMI_MATCH(DMI_CHASSIS_TYPE, "30"), /*Tablet*/ - }, - }, - { - .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), - DMI_MATCH(DMI_CHASSIS_TYPE, "31"), /*Convertible*/ - }, - }, - { - .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), - DMI_MATCH(DMI_CHASSIS_TYPE, "32"), /*Detachable*/ - }, - }, - { .ident ="Dell Computer Corporation" , .matches = {DMI_MATCH (DMI_SYS_VENDOR ,"Dell Computer Corporation" ), DMI_MATCH(DMI_CHASSIS_TYPE, "8"), }, --2.13.6
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 5 lines · On Thursday 08 February 2018 01:12:26 Alexander Abrosimov wrote:
Fixed a mistake in which several entries were duplicated in the DMI list from the below commit
fe486138platform/x86: dell-laptop: Add 2-in-1 devices to the DMI whitelistSigned-off-by Alexander Abrosimov <[email protected]>
Reviewed-by Pali Rohár <[email protected]>
Quoted 37 lines
--- drivers/platform/x86/dell-laptop.c | 18 ------------------ 1 file changed, 18 deletions(-)drivers/platform/x86/dell-laptop.c +0
-18@@ -125,28 +125,10 @@ static const struct dmi_system_id dell_device_table[] __initconst = {DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), DMI_MATCH(DMI_CHASSIS_TYPE, "32"), /*Detachable*/ }, }, { - .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), - DMI_MATCH(DMI_CHASSIS_TYPE, "30"), /*Tablet*/ - }, - }, - { - .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), - DMI_MATCH(DMI_CHASSIS_TYPE, "31"), /*Convertible*/ - }, - }, - { - .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), - DMI_MATCH(DMI_CHASSIS_TYPE, "32"), /*Detachable*/ - }, - }, - { .ident ="Dell Computer Corporation" , .matches = {DMI_MATCH (DMI_SYS_VENDOR ,"Dell Computer Corporation" ), DMI_MATCH(DMI_CHASSIS_TYPE, "8"), },
Signature · 2 lines
Pali Rohár [email protected]