X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/17cb46ca8a6247b2aaeb753d102c431b63896316..a808a8e5276ff8e3012d1b54b9c3f29744889620:/target/linux/ar71xx/files/drivers/leds/leds-rb750.c diff --git a/target/linux/ar71xx/files/drivers/leds/leds-rb750.c b/target/linux/ar71xx/files/drivers/leds/leds-rb750.c index 6d9920129..531ac6b51 100644 --- a/target/linux/ar71xx/files/drivers/leds/leds-rb750.c +++ b/target/linux/ar71xx/files/drivers/leds/leds-rb750.c @@ -90,7 +90,7 @@ static int __devinit rb750_led_probe(struct platform_device *pdev) platform_set_drvdata(pdev, drvdata); return 0; - err: +err: for (i = i - 1; i >= 0; i--) led_classdev_unregister(&drvdata->led_devs[i].cdev);