Re: [PATCH] clk: keystone: gate: fix error handling on init

From: Santosh Shilimkar
Date: Wed Nov 20 2013 - 09:51:39 EST


On Wednesday 20 November 2013 07:09 AM, Grygorii Strashko wrote:
> This patch fixes Keystone gate control clock driver initialization path:
> 1) clk_register_psc() returns error code and not a pure pointer, hence
> its return value need to be checked using IS_ERR(clk) macro.
>
> 2) Mapped IO memory isn't unmapped in case of errors, hence fix it.
>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>
> ---
Looks good. Thanks !!

Mike, If you are ok can you please consider it for fixes ?

Regards,
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/