From: Sachin Kamat <sachin.kamat@linaro.org>
To: linux-kernel@vger.kernel.org
Cc: broonie@kernel.org, patches@opensource.wolfsonmicro.com,
sachin.kamat@linaro.org
Subject: [PATCH 2/2] regulator: gpio: Remove redundant break
Date: Fri, 4 Oct 2013 15:18:18 +0530 [thread overview]
Message-ID: <1380880098-25188-2-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1380880098-25188-1-git-send-email-sachin.kamat@linaro.org>
'break' after goto has no effect. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/regulator/gpio-regulator.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c
index 98a98ff..04406a9 100644
--- a/drivers/regulator/gpio-regulator.c
+++ b/drivers/regulator/gpio-regulator.c
@@ -283,7 +283,6 @@ static int gpio_regulator_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "No regulator type set\n");
ret = -EINVAL;
goto err_memgpio;
- break;
}
drvdata->nr_gpios = config->nr_gpios;
--
1.7.9.5
next prev parent reply other threads:[~2013-10-04 9:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-04 9:48 [PATCH 1/2] regulator: wm8994: " Sachin Kamat
2013-10-04 9:48 ` Sachin Kamat [this message]
2013-10-04 10:50 ` [PATCH 2/2] regulator: gpio: " Mark Brown
2013-10-04 10:47 ` [PATCH 1/2] regulator: wm8994: " Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1380880098-25188-2-git-send-email-sachin.kamat@linaro.org \
--to=sachin.kamat@linaro.org \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@opensource.wolfsonmicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®