Home
last modified time | relevance | path

Searched hist:"4 b88b9ce722f19f8743de531cb3c510f36c6f970" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ptp/
H A Dptp_pch.cdiff 4b88b9ce722f19f8743de531cb3c510f36c6f970 Thu Jun 25 07:10:43 CDT 2020 Vaibhav Gupta <vaibhavgupta40@gmail.com> ptp_pch: use generic power management

With legacy PM, drivers themselves were responsible for managing the
device's power states and takes care of register states.

After upgrading to the generic structure, PCI core will take care of
required tasks and drivers should do only device-specific operations.

In the case of ptp_pch, after removing PCI helper functions, .suspend()
and .resume() became empty-body functions. Hence, define them NULL and
use dev_pm_ops.

Compile-tested only.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>