[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <e208886be14a70faad7a3355f564a6aaa3591c22.1490387086.git.shuahkh@osg.samsung.com>
Date: Fri, 24 Mar 2017 18:05:03 -0600
From: Shuah Khan <shuahkh@....samsung.com>
To: balbi@...nel.org, gregkh@...uxfoundation.org, kgene@...nel.org,
krzk@...nel.org, javier@....samsung.com
Cc: Shuah Khan <shuahkh@....samsung.com>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-omap@...r.kernel.org
Subject: [PATCH 5/7] usb: dwc3: omap: change goto labels in this file to meaningful names
Change goto labels in this file to meaningful names.
Signed-off-by: Shuah Khan <shuahkh@....samsung.com>
---
drivers/usb/dwc3/dwc3-omap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c
index 55b12a9..ca0075a 100644
--- a/drivers/usb/dwc3/dwc3-omap.c
+++ b/drivers/usb/dwc3/dwc3-omap.c
@@ -503,7 +503,7 @@ static int dwc3_omap_probe(struct platform_device *pdev)
ret = pm_runtime_get_sync(dev);
if (ret < 0) {
dev_err(dev, "get_sync failed with err %d\n", ret);
- goto err1;
+ goto runtime_disable;
}
dwc3_omap_map_offset(omap);
@@ -537,7 +537,7 @@ static int dwc3_omap_probe(struct platform_device *pdev)
put_sync:
pm_runtime_put_sync(dev);
-err1:
+runtime_disable:
pm_runtime_disable(dev);
return ret;
--
2.7.4
Powered by blists - more mailing lists