874
874
static int pcie_init_slot(struct controller *ctrl)
878
879
slot = kzalloc(sizeof(*slot), GFP_KERNEL);
883
snprintf(name, sizeof(name), "pciehp-%u", PSN(ctrl));
884
890
INIT_DELAYED_WORK(&slot->work, pciehp_queue_pushbutton_work);
889
898
static void pcie_cleanup_slot(struct controller *ctrl)
891
900
struct slot *slot = ctrl->slot;
892
901
cancel_delayed_work(&slot->work);