The patch titled leds-ams-delta: fix wrong loop direction on removal has been added to the -mm tree. Its filename is leds-ams-delta-fix-wrong-loop-direction-on-removal.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: leds-ams-delta: fix wrong loop direction on removal From: Sven Wegener <sven.wegener@xxxxxxxxxxx> We want to go upwards, not downwards. Signed-off-by: Sven Wegener <sven.wegener@xxxxxxxxxxx> Cc: Richard Purdie <rpurdie@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/leds/leds-ams-delta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/leds/leds-ams-delta.c~leds-ams-delta-fix-wrong-loop-direction-on-removal drivers/leds/leds-ams-delta.c --- a/drivers/leds/leds-ams-delta.c~leds-ams-delta-fix-wrong-loop-direction-on-removal +++ a/drivers/leds/leds-ams-delta.c @@ -127,7 +127,7 @@ static int ams_delta_led_remove(struct p { int i; - for (i = 0; i < ARRAY_SIZE(ams_delta_leds); i--) + for (i = 0; i < ARRAY_SIZE(ams_delta_leds); i++) led_classdev_unregister(&ams_delta_leds[i].cdev); return 0; _ Patches currently in -mm which might be from sven.wegener@xxxxxxxxxxx are linux-next.patch leds-pca9532-fix-memory-leak-and-properly-handle-errors.patch leds-ams-delta-fix-wrong-loop-direction-on-removal.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