[MTD] Switch to pci_get_device and do ref counting