diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-17 09:10:15 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 13:36:17 -0400 |
commit | c9909935a854941b0a4c299e6b5af5c178f64e93 (patch) | |
tree | 2aedf2c0faeaad1f5396da532014077714738826 | |
parent | d7b7ecce4bcb15e92e114f0034ece6bde6b339b8 (diff) |
ste_dma40: Rename jump labels in d40_dmaengine_init()
Adjust jump labels according to the current Linux coding style convention.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | drivers/dma/ste_dma40.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index f22be794277c..4b89a3523dc1 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c | |||
@@ -2891,7 +2891,7 @@ static int __init d40_dmaengine_init(struct d40_base *base, | |||
2891 | 2891 | ||
2892 | if (err) { | 2892 | if (err) { |
2893 | d40_err(base->dev, "Failed to register slave channels\n"); | 2893 | d40_err(base->dev, "Failed to register slave channels\n"); |
2894 | goto failure1; | 2894 | goto exit; |
2895 | } | 2895 | } |
2896 | 2896 | ||
2897 | d40_chan_init(base, &base->dma_memcpy, base->log_chans, | 2897 | d40_chan_init(base, &base->dma_memcpy, base->log_chans, |
@@ -2908,7 +2908,7 @@ static int __init d40_dmaengine_init(struct d40_base *base, | |||
2908 | if (err) { | 2908 | if (err) { |
2909 | d40_err(base->dev, | 2909 | d40_err(base->dev, |
2910 | "Failed to register memcpy only channels\n"); | 2910 | "Failed to register memcpy only channels\n"); |
2911 | goto failure2; | 2911 | goto unregister_slave; |
2912 | } | 2912 | } |
2913 | 2913 | ||
2914 | d40_chan_init(base, &base->dma_both, base->phy_chans, | 2914 | d40_chan_init(base, &base->dma_both, base->phy_chans, |
@@ -2926,14 +2926,14 @@ static int __init d40_dmaengine_init(struct d40_base *base, | |||
2926 | if (err) { | 2926 | if (err) { |
2927 | d40_err(base->dev, | 2927 | d40_err(base->dev, |
2928 | "Failed to register logical and physical capable channels\n"); | 2928 | "Failed to register logical and physical capable channels\n"); |
2929 | goto failure3; | 2929 | goto unregister_memcpy; |
2930 | } | 2930 | } |
2931 | return 0; | 2931 | return 0; |
2932 | failure3: | 2932 | unregister_memcpy: |
2933 | dma_async_device_unregister(&base->dma_memcpy); | 2933 | dma_async_device_unregister(&base->dma_memcpy); |
2934 | failure2: | 2934 | unregister_slave: |
2935 | dma_async_device_unregister(&base->dma_slave); | 2935 | dma_async_device_unregister(&base->dma_slave); |
2936 | failure1: | 2936 | exit: |
2937 | return err; | 2937 | return err; |
2938 | } | 2938 | } |
2939 | 2939 | ||