static int ux500_pd_amba_runtime_idle(struct device *dev) { int (*callback)(struct device *) = NULL; int ret; dev_vdbg(dev, "%s()\n", __func__); /* * Do not bypass AMBA bus runtime functions by calling generic runtime * directly. A future fix could be to implement a * "pm_bus_generic_runtime_*" API which we can use instead. */ if (dev->bus && dev->bus->pm) callback = dev->bus->pm->runtime_idle; if (callback) ret = callback(dev); else ret = pm_generic_runtime_idle(dev); return ret; }
static int _od_runtime_idle(struct device *dev) { return pm_generic_runtime_idle(dev); }
int __weak nvhost_pm_runtime_idle(struct device *dev) { return pm_generic_runtime_idle(dev); };