Commit c25d7f3
platform/x86: thinkpad_acpi: Convert btusb DMI list to quirks
DMI matching in thinkpad_acpi happens local to a function meaning
quirks can only match that function.
Future changes to thinkpad_acpi may need to quirk other code, so
change this to use a quirk infrastructure.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Tested-by: Mark Pearson <markpearson@lenvo.com>
Link: https://lore.kernel.org/r/20220429030501.1909-2-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>1 parent eb2fd9b commit c25d7f3
1 file changed
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
312 | 321 | | |
313 | 322 | | |
314 | 323 | | |
| |||
338 | 347 | | |
339 | 348 | | |
340 | 349 | | |
| 350 | + | |
341 | 351 | | |
342 | 352 | | |
343 | 353 | | |
| |||
4359 | 4369 | | |
4360 | 4370 | | |
4361 | 4371 | | |
4362 | | - | |
| 4372 | + | |
4363 | 4373 | | |
4364 | 4374 | | |
| 4375 | + | |
4365 | 4376 | | |
4366 | 4377 | | |
4367 | 4378 | | |
4368 | 4379 | | |
4369 | 4380 | | |
4370 | 4381 | | |
4371 | 4382 | | |
| 4383 | + | |
4372 | 4384 | | |
4373 | 4385 | | |
4374 | 4386 | | |
4375 | 4387 | | |
4376 | 4388 | | |
4377 | 4389 | | |
4378 | 4390 | | |
| 4391 | + | |
4379 | 4392 | | |
4380 | 4393 | | |
4381 | 4394 | | |
4382 | 4395 | | |
4383 | 4396 | | |
4384 | 4397 | | |
4385 | 4398 | | |
| 4399 | + | |
4386 | 4400 | | |
4387 | 4401 | | |
4388 | 4402 | | |
4389 | 4403 | | |
4390 | 4404 | | |
4391 | 4405 | | |
4392 | 4406 | | |
| 4407 | + | |
4393 | 4408 | | |
4394 | 4409 | | |
4395 | 4410 | | |
4396 | 4411 | | |
4397 | 4412 | | |
4398 | 4413 | | |
4399 | 4414 | | |
| 4415 | + | |
4400 | 4416 | | |
4401 | 4417 | | |
4402 | 4418 | | |
| |||
4419 | 4435 | | |
4420 | 4436 | | |
4421 | 4437 | | |
4422 | | - | |
| 4438 | + | |
| 4439 | + | |
4423 | 4440 | | |
4424 | 4441 | | |
4425 | 4442 | | |
| |||
11496 | 11513 | | |
11497 | 11514 | | |
11498 | 11515 | | |
| 11516 | + | |
11499 | 11517 | | |
11500 | 11518 | | |
11501 | 11519 | | |
| |||
11535 | 11553 | | |
11536 | 11554 | | |
11537 | 11555 | | |
| 11556 | + | |
| 11557 | + | |
| 11558 | + | |
| 11559 | + | |
11538 | 11560 | | |
11539 | 11561 | | |
11540 | 11562 | | |
| |||
0 commit comments