[adm5120] fix an unbalanced spinlock issue
[openwrt.git] / target / linux / adm5120 / files / drivers / leds / leds-adm5120.c
index 368a13b..fb1f662 100644 (file)
@@ -303,7 +303,7 @@ adm5120_leds_init(void)
 
        mach = adm5120_leds_findmach(mips_machtype);
        if (mach == NULL) {
 
        mach = adm5120_leds_findmach(mips_machtype);
        if (mach == NULL) {
-               /* the board is not yet supported */
+               printk(KERN_ERR "leds-adm5120: unsupported board\n");
                ret = -EINVAL;
                goto err;
        }
                ret = -EINVAL;
                goto err;
        }
This page took 0.020152 seconds and 4 git commands to generate.