mmc_test: use API to check card type
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Wed, 1 Sep 2010 06:26:45 +0000 (09:26 +0300)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:12 +0000 (21:11 +0800)
commit63be54cefa3ae58e1e82036945e3c27f941f5a0d
tree7f4543f4f96ed506f510bcd2d2aa1e79c2a53dbd
parentc8c8c1bdbe585d9159c4585216451faa4c35e4ec
mmc_test: use API to check card type

There are methods to check card type. Let's use them instead of direct checking
type bits.

Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/mmc_test.c