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)
commite1aae2eb3f7c446a2680a3a0ccd05aa50521b4e2
tree0229e58fa9e353e460d91d6637676b9052663fb5
parent944640d0fffb2ee2961a24c3747b1fc87c4157a8
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