Skip to content
Commit 8dede18e authored by Ulf Hansson's avatar Ulf Hansson
Browse files

mmc: core: Refactor code to register the MMC PM notifier



Instead of checking for "#ifdef" directly in the code, let's invent a pair
of mmc core functions to deal with register/unregister the MMC PM notifier
block. Implement stubs for these functions when CONFIG_PM_SLEEP is unset,
as in that case the PM notifiers isn't used.

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 7b6471a9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment