Commit 5461f3f
backlight: Remove notifier
backlight_register_notifier and backlight_unregister_notifier have
been unused since commit 6cb634d ("ACPI: video: Remove code to
unregister acpi_video backlight when a native backlight registers")
With those not being called, it means that the backlight_notifier
list is always empty.
Remove the functions, the list itself and the enum used in the
notifications.
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Reviewed-by: Simona Vetter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>1 parent 1a2dc9b commit 5461f3f
File tree
2 files changed
+0
-62
lines changed- drivers/video/backlight
- include/linux
2 files changed
+0
-62
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
467 | 466 | | |
468 | 467 | | |
469 | 468 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | 469 | | |
474 | 470 | | |
475 | 471 | | |
| |||
539 | 535 | | |
540 | 536 | | |
541 | 537 | | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | 538 | | |
546 | 539 | | |
547 | 540 | | |
| |||
566 | 559 | | |
567 | 560 | | |
568 | 561 | | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | 562 | | |
604 | 563 | | |
605 | 564 | | |
| |||
767 | 726 | | |
768 | 727 | | |
769 | 728 | | |
770 | | - | |
771 | 729 | | |
772 | 730 | | |
773 | 731 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 69 | | |
88 | 70 | | |
89 | 71 | | |
| |||
421 | 403 | | |
422 | 404 | | |
423 | 405 | | |
424 | | - | |
425 | | - | |
426 | 406 | | |
427 | 407 | | |
428 | 408 | | |
| |||
0 commit comments