[PATCH v3 1/2] mmc: Move mmc_delay() to include/linux/mmc/core.h
Tabi Timur-B04825
B04825 at freescale.com
Tue Sep 25 00:38:34 EST 2012
On Mon, Sep 24, 2012 at 8:17 AM, Arnd Bergmann <arnd at arndb.de> wrote:
>
>> static inline void mmc_delay(unsigned int ms)
>> {
>> msleep(ms);
>> }
>
> That would be my preferred choice, unless someone has specific issues with this.
If we're going to do that, then just get rid of mmc_delay and replace
all calls to it with msleep(). Why bother with the inline function?
There's nothing really MMC-specific about it.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list