ACPI: video: Consolidate pnp.bus_id workarounds handling

Reduce code duplication related to pnp.bus_id workarounds by combining the two existing cases. Also move the definition of static variable "instance" into acpi_video_bus_probe() because it is only used there. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/3430879.44csPzL39Z@rafael.j.wysocki


Author Rafael J. Wysocki Date Commit Parent 9dc11fac
+8 -10
1 changed file
+8 -10
1 changed file