SET_RUNTIME_PM_OPS(
amba_pm_runtime_suspend,
amba_pm_runtime_resume,
- pm_generic_runtime_idle
+ NULL
)
};
{
drv->drv.bus = &amba_bustype;
+
#define SETFN(fn) if (drv->fn) drv->drv.fn = amba_##fn
SETFN(probe);
SETFN(remove);
}
ret = amba_get_enable_pclk(dev);
+ ret = 0;
if (ret == 0) {
u32 pid, cid;