[PATCH 1/2] vga_switcheroo: Refactor using linked list