summaryrefslogtreecommitdiff
path: root/crypto/seed.c
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-07-20 16:46:26 +0530
committerUlf Hansson <ulf.hansson@linaro.org>2020-07-24 12:24:13 +0200
commitc4e5e22b3b4895821b7e7a9f5b2f7c820fb48ca3 (patch)
tree06a0ceb4e4504abc74cf46a3f6c295f037dd2a49 /crypto/seed.c
parentadc40a5179df30421a5537bfeb4545100ab97d5e (diff)
memstick: jmb38x_ms: use generic power management
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. This driver makes use of PCI helper functions like pci_save/restore_state(), pci_enable/disable_device(), pci_set_power_state() and pci_set_master() to do required operations. In generic mode, they are no longer needed. Change function parameter in both .suspend() and .resume() to "struct device*" type. Use to_pci_dev() and dev_get_drvdata() to get "struct pci_dev*" variable and drv data. Compile-tested only. Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Link: https://lore.kernel.org/r/20200720111625.306681-1-vaibhavgupta40@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'crypto/seed.c')
0 files changed, 0 insertions, 0 deletions