]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
spi: s3c64xx: rename goto labels to meaningful names
authorAndi Shyti <andi.shyti@samsung.com>
Tue, 12 Jul 2016 10:02:12 +0000 (19:02 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 14 Jul 2016 16:28:31 +0000 (17:28 +0100)
commit60a9a964420912a4c4b66efd210d98006177695a
tree4a1e1b0f832187929afb3ef768c752c49a16614b
parent1ada32ede94fc91ff0f3236fcc70ae74dd0c2cb0
spi: s3c64xx: rename goto labels to meaningful names

The goto labels of the style of

  err4:
  err3:
  err2:
  err1:

are complex to insert in between new errors without renaming all
the goto statements. Replace the errX naming style to meaningful
names in order to make it easier to insert new goto exit points.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Michael Turquette <mturquette@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c