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
This commit is contained in:
Rafael J. Wysocki 2026-03-13 13:57:43 +01:00
commit 6a8e793ca8