mmc: tmio: Use common error handling code in tmio_mmc_host_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 27 Oct 2017 17:09:17 +0000 (19:09 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 2 Nov 2017 14:20:29 +0000 (15:20 +0100)
commit7f8e446b032bd6bbcec7c2f068d0a4f2d5929249
tree9245ed5525bd50ffa47595c74bee26884dd536f9
parent2ee4f6200597bda9713e28a9c1e65a392615b4b5
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: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_core.c