mmc: ushc: Return proper error code for ushc_probe()
authorAxel Lin <axel.lin@gmail.com>
Thu, 4 Nov 2010 05:59:11 +0000 (13:59 +0800)
committerChris Ball <cjb@laptop.org>
Sun, 7 Nov 2010 21:45:11 +0000 (16:45 -0500)
commit14d4031d21d8a63ad84e5ab9198d0503efabc780
tree1a53a74d6d50418e1386acdccee6a756b44e9850
parent25d5c699f983a2da51f5165eb9a8fc6338124b6c
mmc: ushc: Return proper error code for ushc_probe()

Improves error handling in the ushc driver.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/ushc.c