summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/bpf_iter.c
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-08-06 01:06:16 +0530
committerWolfram Sang <wsa@kernel.org>2020-08-10 15:47:38 +0200
commit82c8eb22095fa747517845e7d5748ae2e4967359 (patch)
tree820f45f0bd1790fe9dccb20ab2cdbbcf2f86ffc1 /tools/testing/selftests/bpf/prog_tests/bpf_iter.c
parent536e785f533f5a65ce5238e202d527d70fd4ab17 (diff)
downloadlinux-stable-82c8eb22095fa747517845e7d5748ae2e4967359.tar.gz
linux-stable-82c8eb22095fa747517845e7d5748ae2e4967359.tar.bz2
linux-stable-82c8eb22095fa747517845e7d5748ae2e4967359.zip
i2c: eg20t: use generic power management
Drivers using legacy power management .suspen()/.resume() callbacks have to manage PCI states and device's PM states themselves. They also need to take care of standard configuration registers. Switch to generic power management framework using a single "struct dev_pm_ops" variable to take the unnecessary load from the driver. This also avoids the need for the driver to directly call most of the PCI helper functions and device power state control functions, as through the generic framework PCI Core takes care of the necessary operations, and drivers are required to do only device-specific jobs. Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Reviewed-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_iter.c')
0 files changed, 0 insertions, 0 deletions