Commit d91a624
committed
ACPI: video: Adjust event notification routine
Adjust acpi_video_bus_notify() to cast its "data" argument to a struct
acpi_video_bus pointer instead of a struct acpi_device one, which allows
the use of acpi_driver_data() to be limited and will facilitate
subsequent changes.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/2409089.ElGaqSPkdT@rafael.j.wysocki1 parent 336aae5 commit d91a624
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1540 | 1540 | | |
1541 | 1541 | | |
1542 | 1542 | | |
1543 | | - | |
1544 | | - | |
| 1543 | + | |
| 1544 | + | |
1545 | 1545 | | |
1546 | 1546 | | |
1547 | 1547 | | |
1548 | | - | |
1549 | | - | |
1550 | | - | |
1551 | 1548 | | |
1552 | 1549 | | |
1553 | 1550 | | |
| |||
2076 | 2073 | | |
2077 | 2074 | | |
2078 | 2075 | | |
2079 | | - | |
| 2076 | + | |
2080 | 2077 | | |
2081 | 2078 | | |
2082 | 2079 | | |
| |||
0 commit comments