summaryrefslogtreecommitdiff
path: root/drivers/misc/tifm_7xx1.c
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-06-29 11:15:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-29 19:43:42 +0300
commit6bf23661d4a7a105001ebb4410c1c0a17752fac4 (patch)
tree9867ab82557ed56c8dee85a78e805f06cc5dd910 /drivers/misc/tifm_7xx1.c
parent69b4bf2be22ed6d03cdb5b53e44eda660ab5df9b (diff)
downloadlinux-6bf23661d4a7a105001ebb4410c1c0a17752fac4.tar.xz
cardreader/rtsx_pcr.c: use generic power management
Drivers should not use legacy power management as they have to manage power states and related operations, for the device, themselves. This driver was handling them with the help of PCI helper functions like pci_save/restore_state(), pci_enable/disable_device(), etc. With generic PM, all essentials will be handled by the PCI core. Driver needs to do only device-specific operations. The driver was also using pci_enable_wake(...,..., 0) to disable wake. Use device_wakeup_disable() instead. Compile-tested only. Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Link: https://lore.kernel.org/r/20200629081531.214734-3-vaibhavgupta40@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/tifm_7xx1.c')
0 files changed, 0 insertions, 0 deletions