diff options
author | Grygorii Strashko <Grygorii.Strashko@linaro.org> | 2015-04-27 21:24:30 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-12 23:51:36 +0200 |
commit | 020af89a41c41fd2c92d0da524968dfaba6269f0 (patch) | |
tree | 69f2d1bc2d539b7c29743e1d2bb52893cda90bcf /drivers/bus | |
parent | a921504588cfe0e11d9306536bdf131b5b957fd3 (diff) | |
download | blackbird-op-linux-020af89a41c41fd2c92d0da524968dfaba6269f0.tar.gz blackbird-op-linux-020af89a41c41fd2c92d0da524968dfaba6269f0.zip |
PM / sleep: Add macro to define common noirq system PM callbacks
The same approach is used as for the existing SET_SYSTEM_SLEEP_PM_OPS,
but for noirq callbacks.
New SET_NOIRQ_SYSTEM_SLEEP_PM_OPS, defined for CONFIG_PM_SLEEP, will
point ->suspend_noirq, ->freeze_noirq and ->poweroff_noirq to the same
function. Vice versa happens for ->resume_noirq, ->thaw_noirq and
->restore_noirq.
Signed-off-by: Grygorii Strashko <Grygorii.Strashko@linaro.org>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions