summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-06-25 15:10:43 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-25 22:35:44 +0300
commit4b88b9ce722f19f8743de531cb3c510f36c6f970 (patch)
tree545194f784f93a5c002b3e09fd632323afd64e22 /include
parentd621d7703d510d222fa674254293ec48ca6ea709 (diff)
downloadlinux-4b88b9ce722f19f8743de531cb3c510f36c6f970.tar.xz
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions