* [PATCH] backlight: l4f00242t03: Fix regulators handling code in remove function
@ 2010-04-26 20:51 Alberto Panizzo
2010-05-08 13:39 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Alberto Panizzo @ 2010-04-26 20:51 UTC (permalink / raw)
To: Richard Purdie; +Cc: linux-next, linux-kernel
Simple swap of regulator free
Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
---
drivers/video/backlight/l4f00242t03.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/video/backlight/l4f00242t03.c
index 74abd69..9e64afa 100644
--- a/drivers/video/backlight/l4f00242t03.c
+++ b/drivers/video/backlight/l4f00242t03.c
@@ -221,9 +221,9 @@ static int __devexit l4f00242t03_remove(struct spi_device *spi)
gpio_free(pdata->reset_gpio);
if (priv->io_reg)
- regulator_put(priv->core_reg);
- if (priv->core_reg)
regulator_put(priv->io_reg);
+ if (priv->core_reg)
+ regulator_put(priv->core_reg);
kfree(priv);
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] backlight: l4f00242t03: Fix regulators handling code in remove function
2010-04-26 20:51 [PATCH] backlight: l4f00242t03: Fix regulators handling code in remove function Alberto Panizzo
@ 2010-05-08 13:39 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2010-05-08 13:39 UTC (permalink / raw)
To: Alberto Panizzo; +Cc: linux-next, linux-kernel
On Mon, 2010-04-26 at 22:51 +0200, Alberto Panizzo wrote:
> Simple swap of regulator free
>
> Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
> ---
> drivers/video/backlight/l4f00242t03.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Queued in the backlight tree, thanks!
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-09 12:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-26 20:51 [PATCH] backlight: l4f00242t03: Fix regulators handling code in remove function Alberto Panizzo
2010-05-08 13:39 ` Richard Purdie
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).