Drivers using legacy PM have to manage PCI states and device's PM states 
themselves. They also need to take care of configuration registers.

With improved and powerful support of generic PM, PCI Core takes care of above 
mentioned, device-independent, jobs.

Change function parameter in both .suspend() and .resume() to "struct device*" 
type. The function body remains unchanged as it was empty.
Also, bind callbacks with "static const struct dev_pm_ops" variable.

Compile-tested only.

Signed-off-by: Vaibhav Gupta <[email protected]>

Acked-by: Don Brace <[email protected]>
Compile-tested: no compile/sparse issues found.
Tested-by: Don Brace <[email protected]>
   (for hpsa driver)

Reply via email to