[MMC] Cleanup 385e3227d4d83ab13d7767c4bb3593b0256bf246
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 7 Sep 2006 14:57:12 +0000 (15:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Sep 2006 14:57:12 +0000 (15:57 +0100)
commitd773d7255199a6c8934e197756f54a1115dd127b
tree940cb1f15be1d27508927ad40d0262fbec462437
parent148f93d59cc9bb5e0f9a04d36a6f91d435e1a3f7
[MMC] Cleanup 385e3227d4d83ab13d7767c4bb3593b0256bf246

Rather than having two places which independently calculate the
timeout for data transfers, make it a library function instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/mmc.c
drivers/mmc/mmc_block.c
include/linux/mmc/mmc.h