Skip to content
Commit 7f8e446b authored by Markus Elfring's avatar Markus Elfring Committed by Ulf Hansson
Browse files

mmc: tmio: Use common error handling code in tmio_mmc_host_probe()



* Add a jump target so that a bit of exception handling can be better
  reused at the end of this function.

* Adjust condition checks.

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 2ee4f620
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment