aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/accessibility
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-07-28 18:03:49 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-29 14:01:37 +0200
commit408a68c5f64fe2f7921449d655ffef5038144f06 (patch)
tree4d13eb6f876b901ea9dbc844942729279d6601d8 /drivers/accessibility
parentStaging: rtl8712: Fixed a coding sytle issue (diff)
downloadlinux-dev-408a68c5f64fe2f7921449d655ffef5038144f06.tar.xz
linux-dev-408a68c5f64fe2f7921449d655ffef5038144f06.zip
staging: sm750fb: 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> Link: https://lore.kernel.org/r/20200728123349.1331679-1-vaibhavgupta40@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions