]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/leds/leds-s3c24xx.c
leds: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / leds / leds-s3c24xx.c
index 50914439d861d74072bf9af8d7ac0024469eb2fe..0d10e119d8f5451005ea9e86fd73862cde36a495 100644 (file)
@@ -43,7 +43,7 @@ static void s3c24xx_led_set(struct led_classdev *led_cdev,
        struct s3c24xx_gpio_led *led = to_gpio(led_cdev);
        struct s3c24xx_led_platdata *pd = led->pdata;
 
-       /* there will be a sort delay between setting the output and
+       /* there will be a short delay between setting the output and
         * going from output to input when using tristate. */
 
        s3c2410_gpio_setpin(pd->gpio, (value ? 1 : 0) ^
@@ -160,3 +160,4 @@ module_exit(s3c24xx_led_exit);
 MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>");
 MODULE_DESCRIPTION("S3C24XX LED driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:s3c24xx_led");