diff options
author | Benjamin Romer <benjamin.romer@unisys.com> | 2015-03-16 13:58:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-23 21:58:12 +0100 |
commit | a6a3989b514a276506d4e8432318e1186636c1f3 (patch) | |
tree | 7c35ba186e6d1a7fac11012d128a0f3984a65a87 /drivers/staging/unisys | |
parent | e6bdb904c1d819b4f90453d21d46e0aab22b931b (diff) |
staging: unisys: fix CamelCase label in visorchipset_init()
Fix the CamelCase label:
Away => cleanup
Update all references to use the fixed name.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r-- | drivers/staging/unisys/visorchipset/visorchipset_main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 275a0a365412..f4309b385343 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -2150,7 +2150,7 @@ visorchipset_init(void) if (visorchipset_testvnic) { POSTCODE_LINUX_3(CHIPSET_INIT_FAILURE_PC, x, DIAG_SEVERITY_ERR); rc = x; - goto Away; + goto cleanup; } addr = controlvm_get_channel_address(); @@ -2176,7 +2176,7 @@ visorchipset_init(void) rc = visorchipset_file_init(MajorDev, &controlvm_channel); if (rc < 0) { POSTCODE_LINUX_2(CHIPSET_INIT_FAILURE_PC, DIAG_SEVERITY_ERR); - goto Away; + goto cleanup; } memset(&g_diag_msg_hdr, 0, sizeof(struct controlvm_message_header)); @@ -2192,7 +2192,7 @@ visorchipset_init(void) if (!Putfile_buffer_list_pool) { POSTCODE_LINUX_2(CHIPSET_INIT_FAILURE_PC, DIAG_SEVERITY_ERR); rc = -1; - goto Away; + goto cleanup; } if (!visorchipset_disable_controlvm) { /* if booting in a crash kernel */ @@ -2209,7 +2209,7 @@ visorchipset_init(void) POSTCODE_LINUX_2(CREATE_WORKQUEUE_FAILED_PC, DIAG_SEVERITY_ERR); rc = -ENOMEM; - goto Away; + goto cleanup; } most_recent_message_jiffies = jiffies; poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST; @@ -2218,7 +2218,7 @@ visorchipset_init(void) if (rc < 0) { POSTCODE_LINUX_2(QUEUE_DELAYED_WORK_PC, DIAG_SEVERITY_ERR); - goto Away; + goto cleanup; } } @@ -2226,11 +2226,11 @@ visorchipset_init(void) if (platform_device_register(&Visorchipset_platform_device) < 0) { POSTCODE_LINUX_2(DEVICE_REGISTER_FAILURE_PC, DIAG_SEVERITY_ERR); rc = -1; - goto Away; + goto cleanup; } POSTCODE_LINUX_2(CHIPSET_INIT_SUCCESS_PC, POSTCODE_SEVERITY_INFO); rc = 0; -Away: +cleanup: if (rc) { POSTCODE_LINUX_3(CHIPSET_INIT_FAILURE_PC, rc, POSTCODE_SEVERITY_ERR); |