The patch titled backlight-add-ams369fg06-amoled-driver-unregister-backlight-device-when-unload-the-module has been added to the -mm tree. Its filename is backlight-add-ams369fg06-amoled-driver-unregister-backlight-device-when-unload-the-module.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: backlight-add-ams369fg06-amoled-driver-unregister-backlight-device-when-unload-the-module From: Axel Lin <axel.lin@xxxxxxxxx> unregister backlight device when unloading the module Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx> Cc: Jingoo Han <jg1.han@xxxxxxxxxxx> Cc: Richard Purdie <rpurdie@xxxxxxxxx> Cc: Inki Dae <inki.dae@xxxxxxxxxxx> Cc: anish singh <anish198519851985@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/backlight/ams369fg06.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/video/backlight/ams369fg06.c~backlight-add-ams369fg06-amoled-driver-unregister-backlight-device-when-unload-the-module drivers/video/backlight/ams369fg06.c --- a/drivers/video/backlight/ams369fg06.c~backlight-add-ams369fg06-amoled-driver-unregister-backlight-device-when-unload-the-module +++ a/drivers/video/backlight/ams369fg06.c @@ -553,6 +553,7 @@ static int __devexit ams369fg06_remove(s 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); _ Patches currently in -mm which might be from axel.lin@xxxxxxxxx are origin.patch linux-next.patch drivers-video-backlight-ld9040c-small-fixes.patch backlight-add-ams369fg06-amoled-driver-unregister-backlight-device-when-unload-the-module.patch drivers-leds-leds-sunfirec-fix-sunfire_led_generic_probe-error-handling.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html