mmc_block: handle error from mmc_register_driver()
commit9d4e98e9609bc19d4a8ac4a5c3218358d1820114
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 13 Sep 2008 10:02:07 +0000 (13 19:02 +0900)
committerPierre Ossman <drzeus@drzeus.cx>
Sat, 20 Sep 2008 11:03:26 +0000 (20 13:03 +0200)
tree5b794afb9abc6af1051ce3c9f031034a329b05f0
parentda45b66ec89bbf3a1c172688c35d4d3a6e8e757f
mmc_block: handle error from mmc_register_driver()

Check error from mmc_register_driver() and properly unwind
block device registration.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/card/block.c