mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
driver core: drivers/base/sys.c: update comments
There are no functions named sys_device_shutdown or sys_device_suspend in the kernel. They should be fixed to sysdev_shutdown and sysdev_suspend respectively. Signed-off-by: Qinghuang Feng <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
bb20698d46
commit
65151365ad
1 changed files with 2 additions and 2 deletions
|
|
@ -355,7 +355,7 @@ static void __sysdev_resume(struct sys_device *dev)
|
|||
* sysdev_suspend - Suspend all system devices.
|
||||
* @state: Power state to enter.
|
||||
*
|
||||
* We perform an almost identical operation as sys_device_shutdown()
|
||||
* We perform an almost identical operation as sysdev_shutdown()
|
||||
* above, though calling ->suspend() instead. Interrupts are disabled
|
||||
* when this called. Devices are responsible for both saving state and
|
||||
* quiescing or powering down the device.
|
||||
|
|
@ -437,7 +437,7 @@ aux_driver:
|
|||
/**
|
||||
* sysdev_resume - Bring system devices back to life.
|
||||
*
|
||||
* Similar to sys_device_suspend(), but we iterate the list forwards
|
||||
* Similar to sysdev_suspend(), but we iterate the list forwards
|
||||
* to guarantee that parent devices are resumed before their children.
|
||||
*
|
||||
* Note: Interrupts are disabled when called.
|
||||
|
|
|
|||
Loading…
Reference in a new issue