All of lore.kernel.org
 help / color / mirror / Atom feed
From: JinGoo Han <jg1.han@samsung.com>
To: Axel Lin <axel.lin@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: JinGoo Han <jg1.han@samsung.com>,
	Richard Purdie <rpurdie@rpsys.net>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] backlight: ams369fg06: unregister backlight device when unload the module
Date: Tue, 05 Jul 2011 01:03:46 +0000 (GMT)	[thread overview]
Message-ID: <14535912.343501309827824890.JavaMail.weblogic@epml17> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=euc-kr, Size: 1181 bytes --]


Acked-by: Jingoo Han <jg1.han@samsung.com>

> -----Original Message-----
> From: Axel Lin [mailto:axel.lin@gmail.com]
> Sent: Monday, July 04, 2011 11:35 PM
> To: linux-kernel@vger.kernel.org
> Cc: Jingoo Han; Richard Purdie; Andrew Morton
> Subject: [PATCH] backlight: ams369fg06: unregister backlight device when
> unload the module
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  drivers/video/backlight/ams369fg06.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/video/backlight/ams369fg06.c
> b/drivers/video/backlight/ams369fg06.c
> index d1d8237..6462d05 100644
> --- a/drivers/video/backlight/ams369fg06.c
> +++ b/drivers/video/backlight/ams369fg06.c
> @@ -553,6 +553,7 @@ static int __devexit ams369fg06_remove(struct
> spi_device *spi)
>  	struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev);
> 
>  	ams369fg06_power(lcd, FB_BLANK_POWERDOWN);
> +	backlight_device_unregister(lcd->bd);
>  	lcd_device_unregister(lcd->ld);
>  	kfree(lcd);
> 
> --
> 1.7.4.1
> 

ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

             reply	other threads:[~2011-07-05  1:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-05  1:03 JinGoo Han [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-04 14:34 [PATCH] backlight: ams369fg06: unregister backlight device when unload the module Axel Lin

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=14535912.343501309827824890.JavaMail.weblogic@epml17 \
    --to=jg1.han@samsung.com \
    --cc=akpm@linux-foundation.org \
    --cc=axel.lin@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpurdie@rpsys.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.