• Paul Mundt's avatar
    sh: Tidy up pre-clkdev clk_get() error handling. · 7912825d
    Paul Mundt authored
    clk_get() used to return NULL or an errno value depending on whether a
    clkdev lookup failed or a clock wasn't found in the primary clock list.
    As these disjoint paths were unified and everything now is handled via
    clkdev lookups, the NULL case never makes it out of clk_get(). Update
    accordingly and always look to the errno value.
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    7912825d
board-apsh4a3a.c 3.98 KB