]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mmcif: simplify and use meaningful label names in error-handling
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 19 Apr 2012 14:15:52 +0000 (16:15 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:13 +0000 (00:02 -0400)
commitfb8a787bf0cf74da81856134fc0f70e5d29cb5ab
tree0229e58fa9e353e460d91d6637676b9052663fb5
parent608571f75759eb41a444a0498b02a512ad0cea01
mmc: sh_mmcif: simplify and use meaningful label names in error-handling

A check for NULL platform data can be conveniently made in the very
beginning of probing. Replace numbered error-handling labels in .probe()
with meaningful names to make any future reorganisation simpler.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c