Date:2010-07-08 15:52:27 (13 years 5 months ago)
Author:Lars C.
Commit:1ae58e9d2b1dba91fd52597dc5bd457df954ec6c
Message:jz4740: clock: Fix error codes returned when no clock is found

Files: arch/mips/jz4740/clock.c (1 diff)

Change Details

arch/mips/jz4740/clock.c
805805        if (strcmp(clk->name, name) == 0)
806806            return clk;
807807    }
808    return ERR_PTR(-ENOENT);
808    return ERR_PTR(-ENXIO);
809809}
810810EXPORT_SYMBOL_GPL(clk_get);
811811

Archive Download the corresponding diff file



interactive