Re: [PATCH RESEND 3/6] clk: exynos: Fix incorrect usage ofIS_ERR_OR_NULL

From: Dan Carpenter
Date: Tue Dec 18 2012 - 13:39:56 EST


On Wed, Dec 19, 2012 at 06:34:05AM +1300, Tony Prisk wrote:
> Resend to include mailing lists.
>
> Replace IS_ERR_OR_NULL with IS_ERR on clk_get results.
>

The original code is correct. clk_get() can return NULL depending
on the .config.

regards,
dan carpenter

--
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/