lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-id: <14535912.343501309827824890.JavaMail.weblogic@epml17>
Date:	Tue, 05 Jul 2011 01:03:46 +0000 (GMT)
From:	JinGoo Han <jg1.han@...sung.com>
To:	Axel Lin <axel.lin@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc:	JinGoo Han <jg1.han@...sung.com>,
	Richard Purdie <rpurdie@...ys.net>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] backlight: ams369fg06: unregister backlight device when
 unload the module


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

> -----Original Message-----
> From: Axel Lin [mailto:axel.lin@...il.com]
> Sent: Monday, July 04, 2011 11:35 PM
> To: linux-kernel@...r.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@...il.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
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ