Commit 9fe44fc
platform/x86: asus-wmi: Simplify the keyboard brightness updating process
The original asus-wmi queues a work which calls the ACPI/WMI methods to
update the keyboard LED brightness. Similar drivers - acer-wmi,
dell-wmi-led just call the ACPI/WMI methods directly without workqueues.
This patch simplifies the keyboard brightness updating process which
calls the kbd_led_update function directly without workqueue in
asus-wmi.
Signed-off-by: Jian-Hong Pan <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>1 parent cacad0b commit 9fe44fc
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | 242 | | |
244 | 243 | | |
245 | 244 | | |
| |||
456 | 455 | | |
457 | 456 | | |
458 | 457 | | |
459 | | - | |
| 458 | + | |
460 | 459 | | |
461 | 460 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | 461 | | |
466 | 462 | | |
467 | 463 | | |
| |||
516 | 512 | | |
517 | 513 | | |
518 | 514 | | |
519 | | - | |
| 515 | + | |
520 | 516 | | |
521 | 517 | | |
522 | 518 | | |
| |||
671 | 667 | | |
672 | 668 | | |
673 | 669 | | |
674 | | - | |
675 | | - | |
676 | 670 | | |
677 | 671 | | |
678 | 672 | | |
| |||
2310 | 2304 | | |
2311 | 2305 | | |
2312 | 2306 | | |
2313 | | - | |
| 2307 | + | |
2314 | 2308 | | |
2315 | 2309 | | |
2316 | 2310 | | |
| |||
2346 | 2340 | | |
2347 | 2341 | | |
2348 | 2342 | | |
2349 | | - | |
| 2343 | + | |
2350 | 2344 | | |
2351 | 2345 | | |
2352 | 2346 | | |
| |||
0 commit comments