diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-05-01 16:11:57 +0200 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-05-01 16:11:57 +0200 |
commit | bd766312618d2ecc85bce663f95faec601447ecb (patch) | |
tree | 65b38b556f766d0e41c553989271db82c26e860d /drivers/mmc/core/sysfs.c | |
parent | 6abaa0c9fec563538f2a28a682af8c89bb9b125c (diff) | |
download | kernel_samsung_smdk4412-bd766312618d2ecc85bce663f95faec601447ecb.zip kernel_samsung_smdk4412-bd766312618d2ecc85bce663f95faec601447ecb.tar.gz kernel_samsung_smdk4412-bd766312618d2ecc85bce663f95faec601447ecb.tar.bz2 |
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.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mmc/core/sysfs.c b/drivers/mmc/core/sysfs.c index 5c9ce02..843b1fb 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 |