[PATCH] pci: cleanup need_restore switch statement