aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/core/sysfs.c
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-05-01 16:11:57 +0200
committerPierre Ossman <drzeus@drzeus.cx>2007-05-01 16:11:57 +0200
commitbd766312618d2ecc85bce663f95faec601447ecb (patch)
tree65b38b556f766d0e41c553989271db82c26e860d /drivers/mmc/core/sysfs.c
parent6abaa0c9fec563538f2a28a682af8c89bb9b125c (diff)
mmc: remove old card states
Remove card states that no longer make any sense. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/core/sysfs.c')
-rw-r--r--drivers/mmc/core/sysfs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mmc/core/sysfs.c b/drivers/mmc/core/sysfs.c
index 5c9ce02e7e5..843b1fbba55 100644
--- a/drivers/mmc/core/sysfs.c
+++ b/drivers/mmc/core/sysfs.c
@@ -72,12 +72,11 @@ static void mmc_release_card(struct device *dev)
/*
* This currently matches any MMC driver to any MMC card - drivers
* themselves make the decision whether to drive this card in their
- * probe method. However, we force "bad" cards to fail.
+ * probe method.
*/
static int mmc_bus_match(struct device *dev, struct device_driver *drv)
{
- struct mmc_card *card = dev_to_mmc_card(dev);
- return !mmc_card_bad(card);
+ return 1;
}
static int