diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2011-04-05 10:43:20 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-24 20:59:43 -0400 |
commit | a5e9425d2010978c5f85986cc70a9fa0c0d5b912 (patch) | |
tree | 2d58d5b79f3e0b2fe30edbb5fc1b6808b7576d81 /include | |
parent | f4c5522b0a8827f39f83f928961d87e081bfe71c (diff) |
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')
-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 eb792cb6d745..8ad3a9c6f495 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) | |||
320 | return !(host->caps & MMC_CAP_NONREMOVABLE) && mmc_assume_removable; | 320 | return !(host->caps & MMC_CAP_NONREMOVABLE) && mmc_assume_removable; |
321 | } | 321 | } |
322 | 322 | ||
323 | static inline int mmc_card_is_powered_resumed(struct mmc_host *host) | 323 | static inline int mmc_card_keep_power(struct mmc_host *host) |
324 | { | 324 | { |
325 | return host->pm_flags & MMC_PM_KEEP_POWER; | 325 | return host->pm_flags & MMC_PM_KEEP_POWER; |
326 | } | 326 | } |