diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2011-04-05 14:43:20 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-25 00:59:43 (GMT) |
commit | a5e9425d2010978c5f85986cc70a9fa0c0d5b912 (patch) | |
tree | 2d58d5b79f3e0b2fe30edbb5fc1b6808b7576d81 /include/linux | |
parent | f4c5522b0a8827f39f83f928961d87e081bfe71c (diff) | |
download | linux-fsl-qoriq-a5e9425d2010978c5f85986cc70a9fa0c0d5b912.tar.xz |
mmc: mmc_card_keep_power cleanups
mmc_card_is_powered_resumed is a mouthful; instead, simply use
mmc_card_keep_power, which also better explains the purpose of
the macro.
Employ mmc_card_keep_power() where possible.
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mmc/host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index eb792cb..8ad3a9c 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -320,7 +320,7 @@ static inline int mmc_card_is_removable(struct mmc_host *host) return !(host->caps & MMC_CAP_NONREMOVABLE) && mmc_assume_removable; } -static inline int mmc_card_is_powered_resumed(struct mmc_host *host) +static inline int mmc_card_keep_power(struct mmc_host *host) { return host->pm_flags & MMC_PM_KEEP_POWER; } |