Commit 6fee65cfde519ae811c3cde47c622271168ca449
Committed by
Pierre Ossman
1 parent
2f730fec83
Exists in
master
and in
7 other branches
mmc: use shorter, equivalent set_current_state()
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/mmc/core/sdio_irq.c
... | ... | @@ -128,12 +128,12 @@ |
128 | 128 | } |
129 | 129 | } |
130 | 130 | |
131 | - set_task_state(current, TASK_INTERRUPTIBLE); | |
131 | + set_current_state(TASK_INTERRUPTIBLE); | |
132 | 132 | if (host->caps & MMC_CAP_SDIO_IRQ) |
133 | 133 | host->ops->enable_sdio_irq(host, 1); |
134 | 134 | if (!kthread_should_stop()) |
135 | 135 | schedule_timeout(period); |
136 | - set_task_state(current, TASK_RUNNING); | |
136 | + set_current_state(TASK_RUNNING); | |
137 | 137 | } while (!kthread_should_stop()); |
138 | 138 | |
139 | 139 | if (host->caps & MMC_CAP_SDIO_IRQ) |