static int dw_mci_pci_suspend(struct device *dev) { struct pci_dev *pdev = to_pci_dev(dev); struct dw_mci *host = pci_get_drvdata(pdev); return dw_mci_suspend(host); }
static int dw_mci_pltfm_suspend(struct device *dev) { int ret; struct dw_mci *host = dev_get_drvdata(dev); ret = dw_mci_suspend(host); if (ret) return ret; return 0; }
static int dw_mci_rockchip_suspend(struct device *dev) { struct dw_mci *host = dev_get_drvdata(dev); return dw_mci_suspend(host); }