* [PATCH] regulator: max8997: remove useless code
@ 2011-05-12 2:37 MyungJoo Ham
2011-05-12 6:29 ` Mark Brown
2011-05-13 12:34 ` Liam Girdwood
0 siblings, 2 replies; 3+ messages in thread
From: MyungJoo Ham @ 2011-05-12 2:37 UTC (permalink / raw)
To: linux-kernel
Cc: Liam Girdwood, Mark Brown, Jonghwan Choi, myungjoo.ham, MyungJoo Ham
From: Jonghwan Choi <jhbird.choi@samsung.com>
fix unreachable code.
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
---
drivers/regulator/max8997.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c
index 77e0cfb..b1c1444 100644
--- a/drivers/regulator/max8997.c
+++ b/drivers/regulator/max8997.c
@@ -267,7 +267,6 @@ static int max8997_get_enable_register(struct regulator_dev *rdev,
default:
/* Not controllable or not exists */
return -EINVAL;
- break;
}
return 0;
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] regulator: max8997: remove useless code
2011-05-12 2:37 [PATCH] regulator: max8997: remove useless code MyungJoo Ham
@ 2011-05-12 6:29 ` Mark Brown
2011-05-13 12:34 ` Liam Girdwood
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-05-12 6:29 UTC (permalink / raw)
To: MyungJoo Ham; +Cc: linux-kernel, Liam Girdwood, Jonghwan Choi, myungjoo.ham
On Thu, May 12, 2011 at 11:37:48AM +0900, MyungJoo Ham wrote:
> From: Jonghwan Choi <jhbird.choi@samsung.com>
>
> fix unreachable code.
>
> Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] regulator: max8997: remove useless code
2011-05-12 2:37 [PATCH] regulator: max8997: remove useless code MyungJoo Ham
2011-05-12 6:29 ` Mark Brown
@ 2011-05-13 12:34 ` Liam Girdwood
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-05-13 12:34 UTC (permalink / raw)
To: MyungJoo Ham; +Cc: linux-kernel, Mark Brown, Jonghwan Choi, myungjoo.ham
On Thu, 2011-05-12 at 11:37 +0900, MyungJoo Ham wrote:
> From: Jonghwan Choi <jhbird.choi@samsung.com>
>
> fix unreachable code.
>
> Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
> ---
> drivers/regulator/max8997.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c
> index 77e0cfb..b1c1444 100644
> --- a/drivers/regulator/max8997.c
> +++ b/drivers/regulator/max8997.c
> @@ -267,7 +267,6 @@ static int max8997_get_enable_register(struct regulator_dev *rdev,
> default:
> /* Not controllable or not exists */
> return -EINVAL;
> - break;
> }
>
> return 0;
Applied.
Liam
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-13 12:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 2:37 [PATCH] regulator: max8997: remove useless code MyungJoo Ham
2011-05-12 6:29 ` Mark Brown
2011-05-13 12:34 ` Liam Girdwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).